Run wp_user_settings() from admin-header

git-svn-id: https://develop.svn.wordpress.org/trunk@10059 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-12-05 05:33:36 +00:00
parent 6c16ca328e
commit 7c243ba2b7
2 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ if (!isset($_GET["page"])) require_once('admin.php');
get_admin_page_title(); get_admin_page_title();
$title = wp_specialchars( strip_tags( $title ) ); $title = wp_specialchars( strip_tags( $title ) );
wp_user_settings();
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>

View File

@ -196,7 +196,6 @@ add_action('comment_form', 'wp_comment_form_unfiltered_html_nonce');
add_action('template_redirect', 'wp_old_slug_redirect'); add_action('template_redirect', 'wp_old_slug_redirect');
add_action('edit_post', 'wp_check_for_changed_slugs'); add_action('edit_post', 'wp_check_for_changed_slugs');
add_action('edit_form_advanced', 'wp_remember_old_slug'); add_action('edit_form_advanced', 'wp_remember_old_slug');
add_action('init', 'wp_user_settings', 9);
add_action('init', '_show_post_preview'); add_action('init', '_show_post_preview');
?> ?>