global $title,
$hook_suffix,
$current_screen,
$wp_locale,
$pagenow,
$update_title,
$total_update_count,
$parent_file,
$typenow;
// Catch plugins that include admin-header.php before admin.php completes.
if ( empty( $current_screen ) ) { set_current_screen();
}get_admin_page_title();
$title =
strip_tags( $title );
if ( is_network_admin() ) { /* translators: Network admin screen title. %s: Network title. */
$admin_title =
sprintf( __( 'Network Admin: %s'
),
get_network()->site_name
);
} elseif ( is_user_admin() ) { /* translators: User dashboard screen title. %s: Network title. */
$admin_title =
sprintf( __( 'User Dashboard: %s'
),
get_network()->site_name
);
} else { $admin_title =
get_bloginfo( 'name'
);
}