diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/admin-header.php --- a/wp/wp-admin/admin-header.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/admin-header.php Tue Jun 09 03:35:32 2015 +0200 @@ -12,7 +12,7 @@ // In case admin-header.php is included in a function. global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, - $current_site, $update_title, $total_update_count, $parent_file; + $update_title, $total_update_count, $parent_file; // Catch plugins that include admin-header.php before admin.php completes. if ( empty( $current_screen ) ) @@ -22,9 +22,9 @@ $title = esc_html( strip_tags( $title ) ); if ( is_network_admin() ) - $admin_title = sprintf( __('Network Admin: %s'), esc_html( $current_site->site_name ) ); + $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) ); elseif ( is_user_admin() ) - $admin_title = sprintf( __('Global Dashboard: %s'), esc_html( $current_site->site_name ) ); + $admin_title = sprintf( __( 'Global Dashboard: %s' ), esc_html( get_current_site()->site_name ) ); else $admin_title = get_bloginfo( 'name' ); @@ -34,7 +34,7 @@ $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title ); /** - * Filter the