WordPress.org

Make WordPress Core

Changeset 25103


Ignore:
Timestamp:
08/23/13 18:57:33 (18 months ago)
Author:
nacin
Message:

Add network name to <title> tags in the network admin and user admin (global dashboard).

props johnbillion.
fixes #19753.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-header.php

    r24692 r25103  
    2323 
    2424if ( is_network_admin() ) 
    25     $admin_title = __( 'Network Admin' ); 
     25    $admin_title = sprintf( __('Network Admin: %s'), esc_html( $current_site->site_name ) ); 
    2626elseif ( is_user_admin() ) 
    27     $admin_title = __( 'Global Dashboard' ); 
     27    $admin_title = sprintf( __('Global Dashboard: %s'), esc_html( $current_site->site_name ) ); 
    2828else 
    2929    $admin_title = get_bloginfo( 'name' ); 
Note: See TracChangeset for help on using the changeset viewer.