Changeset 47474
- Timestamp:
- 03/20/2020 02:18:53 AM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-header.php
r47219 r47474 33 33 34 34 get_admin_page_title(); 35 $title = esc_html( strip_tags( $title ));35 $title = strip_tags( $title ); 36 36 37 37 if ( is_network_admin() ) { 38 38 /* translators: Network admin screen title. %s: Network title. */ 39 $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ));39 $admin_title = sprintf( __( 'Network Admin: %s' ), get_network()->site_name ); 40 40 } elseif ( is_user_admin() ) { 41 41 /* translators: User dashboard screen title. %s: Network title. */ 42 $admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ));42 $admin_title = sprintf( __( 'User Dashboard: %s' ), get_network()->site_name ); 43 43 } else { 44 44 $admin_title = get_bloginfo( 'name' ); … … 72 72 _wp_admin_html_begin(); 73 73 ?> 74 <title><?php echo $admin_title; ?></title>74 <title><?php echo esc_html( $admin_title ); ?></title> 75 75 <?php 76 76 -
trunk/src/wp-admin/customize.php
r47198 r47474 151 151 152 152 ?> 153 <title><?php echo $admin_title; ?></title>153 <title><?php echo esc_html( $admin_title ); ?></title> 154 154 155 155 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.