WordPress.org

Make WordPress Core

Ticket #16143: 16143.3.patch

File 16143.3.patch, 595 bytes (added by SergeyBiryukov, 10 years ago)
  • wp-admin/admin-header.php

     
    1010if ( ! defined( 'WP_ADMIN' ) )
    1111        require_once( './admin.php' );
    1212
     13// In case admin-header.php is included in a function
     14global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, $is_iphone;
     15global $user_identity, $current_site, $update_title, $total_update_count, $parent_file;
     16
    1317get_admin_page_title();
    1418$title = esc_html( strip_tags( $title ) );
    1519