WordPress.org

Make WordPress Core

Changeset 18526


Ignore:
Timestamp:
08/10/2011 07:54:59 PM (9 years ago)
Author:
nacin
Message:

Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r18498 r18526  
    1010if ( ! defined( 'WP_ADMIN' ) )
    1111    require_once( './admin.php' );
     12
     13// In case admin-header.php is included in a function.
     14global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, $is_iphone,
     15    $user_identity, $current_site, $update_title, $total_update_count, $parent_file;
    1216
    1317get_admin_page_title();
Note: See TracChangeset for help on using the changeset viewer.