Make WordPress Core


Ignore:
Timestamp:
03/20/2020 02:18:53 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Administration: Escape admin title on output after the admin_title filter runs, not before.

Props lalitpendhare, adnan.limdi, subrataemfluence, andraganescu.
Fixes #41921.

File:
1 edited

Legend:

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

    r47198 r47474  
    151151
    152152?>
    153 <title><?php echo $admin_title; ?></title>
     153<title><?php echo esc_html( $admin_title ); ?></title>
    154154
    155155<script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.