From d97f64f9f7d21ee20c7b7175508c2be0f9d639ec Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 13 Nov 2013 04:16:43 +0000 Subject: [PATCH] Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site. see #25158. git-svn-id: https://develop.svn.wordpress.org/trunk@26124 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin-header.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index 95af173f26..6df3ad2f72 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -12,9 +12,7 @@ if ( ! defined( 'WP_ADMIN' ) ) // In case admin-header.php is included in a function. global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, - $update_title, $total_update_count, $parent_file; - -$current_site = get_current_site(); + $current_site, $update_title, $total_update_count, $parent_file; // Catch plugins that include admin-header.php before admin.php completes. if ( empty( $current_screen ) )