WordPress.org

Make WordPress Core

Ticket #41921: admin-header-41921.php

File admin-header-41921.php, 358 bytes (added by lalitpendhare, 4 years ago)

add esc_html before the admin title display on line 67

Line 
1Index: admin-header.php
2===================================================================
3--- admin-header.php    (revision 41211)
4+++ admin-header.php    (working copy)
5@@ -64,7 +64,7 @@
6 
7 _wp_admin_html_begin();
8 ?>
9-<title><?php echo $admin_title; ?></title>
10+<title><?php echo esc_html($admin_title); ?></title>
11 <?php
12 
13 wp_enqueue_style( 'colors' );