From 7c243ba2b718ffce11f220685a48bd8642959471 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 5 Dec 2008 05:33:36 +0000 Subject: [PATCH] Run wp_user_settings() from admin-header git-svn-id: https://develop.svn.wordpress.org/trunk@10059 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-header.php | 1 + wp-includes/default-filters.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index d0691f237e..b115232fae 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -11,6 +11,7 @@ if (!isset($_GET["page"])) require_once('admin.php'); get_admin_page_title(); $title = wp_specialchars( strip_tags( $title ) ); +wp_user_settings(); ?> > diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 187f80f0f4..97bb32f38d 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -196,7 +196,6 @@ add_action('comment_form', 'wp_comment_form_unfiltered_html_nonce'); add_action('template_redirect', 'wp_old_slug_redirect'); add_action('edit_post', 'wp_check_for_changed_slugs'); add_action('edit_form_advanced', 'wp_remember_old_slug'); -add_action('init', 'wp_user_settings', 9); add_action('init', '_show_post_preview'); ?>