Run wp_user_settings() from admin-header
git-svn-id: http://svn.automattic.com/wordpress/trunk@10059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
06303fe3a7
commit
47c1924213
|
@ -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(); ?>>
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue