Changeset 26235 for trunk/src/wp-admin/admin-header.php
- Timestamp:
- 11/16/2013 01:45:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-header.php
r26134 r26235 13 13 // In case admin-header.php is included in a function. 14 14 global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, 15 $ current_site, $update_title, $total_update_count, $parent_file;15 $update_title, $total_update_count, $parent_file; 16 16 17 17 // Catch plugins that include admin-header.php before admin.php completes. … … 23 23 24 24 if ( is_network_admin() ) 25 $admin_title = sprintf( __( 'Network Admin: %s'), esc_html( $current_site->site_name ) );25 $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) ); 26 26 elseif ( is_user_admin() ) 27 $admin_title = sprintf( __( 'Global Dashboard: %s'), esc_html( $current_site->site_name ) );27 $admin_title = sprintf( __( 'Global Dashboard: %s' ), esc_html( get_current_site()->site_name ) ); 28 28 else 29 29 $admin_title = get_bloginfo( 'name' );
Note: See TracChangeset
for help on using the changeset viewer.