Ticket #35774: 35774-option2.patch
| File 35774-option2.patch, 926 bytes (added by , 10 years ago) |
|---|
-
wp-admin/admin-header.php
32 32 33 33 get_admin_page_title(); 34 34 $title = esc_html( strip_tags( $title ) ); 35 $separator = '—'; 35 36 36 37 if ( is_network_admin() ) 37 38 $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) ); … … 41 42 $admin_title = get_bloginfo( 'name' ); 42 43 43 44 if ( $admin_title == $title ) 44 $admin_title = sprintf( __( '%1$s — WordPress' ), $title);45 $admin_title = sprintf( '%1$s %2$s %3$s', $title, $separator, __( 'WordPress' ) ); 45 46 else 46 $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );47 $admin_title = sprintf( '%1$s %2$s %3$s', $title, $separator, $admin_title ); 47 48 48 49 /** 49 50 * Filter the title tag content for an admin page.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)