Don't use $user_identity global. props duck_. fixes #19146.

git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-11-14 21:35:44 +00:00
parent 9c824b6687
commit c107d9ffed
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ if ( ! defined( 'WP_ADMIN' ) )
// In case admin-header.php is included in a function.
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, $is_iphone,
$user_identity, $current_site, $update_title, $total_update_count, $parent_file;
$current_site, $update_title, $total_update_count, $parent_file;
get_admin_page_title();
$title = esc_html( strip_tags( $title ) );