WordPress.org

Make WordPress Core

Ticket #16143: 16143.4.patch

File 16143.4.patch, 586 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, $user_identity, $current_site, $update_title, $total_update_count, $parent_file;
     15
    1316get_admin_page_title();
    1417$title = esc_html( strip_tags( $title ) );
    1518