From eaf4dba2f47dc032529b4dca31dac78f02c58495 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 4 Oct 2019 21:59:57 +0000 Subject: [PATCH] Customize: Prevent breaking the customizer when site title contains templating syntax. When the site title is inside an underscore template, syntax defined in `wp.template` like `{{ }}` is treated as special characters and will make Underscore treat it as data to be compiled/rendered. Props pierlo, donmhico. Fixes #46863. Built from https://develop.svn.wordpress.org/trunk@46389 git-svn-id: http://core.svn.wordpress.org/trunk@46188 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/customize/class-wp-customize-site-icon-control.php | 2 +- wp-includes/media-template.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/customize/class-wp-customize-site-icon-control.php b/wp-includes/customize/class-wp-customize-site-icon-control.php index bb4681ef62..b4edfb9da1 100644 --- a/wp-includes/customize/class-wp-customize-site-icon-control.php +++ b/wp-includes/customize/class-wp-customize-site-icon-control.php @@ -64,7 +64,7 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control
<?php esc_attr_e( 'Preview as a browser icon' ); ?>
- + <?php esc_attr_e( 'Preview as an app icon' ); ?> diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index ddac75d5e0..80d0bafbe4 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -1431,7 +1431,7 @@ function wp_print_media_templates() {
<?php esc_attr_e( 'Preview as a browser icon' ); ?>
- + diff --git a/wp-includes/version.php b/wp-includes/version.php index 1f8f618160..bb2cb2bc18 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta2-46388'; +$wp_version = '5.3-beta2-46389'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.