WordPress.org

Make WordPress Core

Ticket #16143: 16143.2.patch

File 16143.2.patch, 675 bytes (added by SergeyBiryukov, 7 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;
     15global $hook_suffix;
     16global $current_screen;
     17global $wp_locale;
     18global $pagenow;
     19global $wp_version;
     20global $is_iphone;
     21global $user_identity;
     22global $current_site;
     23global $update_title;
     24global $total_update_count;
     25global $parent_file;
     26
    1327get_admin_page_title();
    1428$title = esc_html( strip_tags( $title ) );
    1529