WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/13/2013 04:16:43 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.

see #25158.

File:
1 edited

Legend:

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

    r26120 r26124  
    1313// In case admin-header.php is included in a function.
    1414global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version,
    15     $update_title, $total_update_count, $parent_file;
    16 
    17 $current_site = get_current_site();
     15    $current_site, $update_title, $total_update_count, $parent_file;
    1816
    1917// Catch plugins that include admin-header.php before admin.php completes.
Note: See TracChangeset for help on using the changeset viewer.