X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..53a5df18dd17a11c18781e78349feb3e139096b4:/wp-admin/admin-header.php?ds=sidebyside diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index b994f7c5..a677dde3 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -1,72 +1,234 @@ -site_name ) ); +elseif ( is_user_admin() ) + $admin_title = sprintf( __('Global Dashboard: %s'), esc_html( $current_site->site_name ) ); +else + $admin_title = get_bloginfo( 'name' ); + +if ( $admin_title == $title ) + $admin_title = sprintf( __( '%1$s — WordPress' ), $title ); +else + $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title ); + +/** + * Filter the