Fixed admin.php functions for WP 3.8.1