From 44ad0964b0ca5794c5a35dee812256c3054f7a26 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 12 Jan 2016 08:58:26 +0000 Subject: [PATCH] After [36263] escape filterable HTML output. Props adamsilverstein. Fixes #35064. Built from https://develop.svn.wordpress.org/trunk@36267 git-svn-id: http://core.svn.wordpress.org/trunk@36234 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-general.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 5f18170ea8..11bda9545e 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -243,7 +243,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists echo " checked='checked'"; $custom = false; } - echo ' /> ' . date_i18n( $format ) . '' . $format . "
\n"; + echo ' /> ' . date_i18n( $format ) . '' . esc_html( $format ) . "
\n"; } echo '
\n"; + echo ' /> ' . date_i18n( $format ) . '' . esc_html( $format ) . "
\n"; } echo '