From 8326ab1fc94f2796a218e4a79c432606a1ad771f Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 15 Dec 2014 15:01:38 +0000 Subject: [PATCH] Customizer: Don't escape control descriptions in JavaScript templates. Merges [30847] to the 4.1 branch. Fixes #30682. Built from https://develop.svn.wordpress.org/branches/4.1@30863 git-svn-id: http://core.svn.wordpress.org/branches/4.1@30853 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 66b9b2fd99..93c707d733 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -737,7 +737,7 @@ class WP_Customize_Upload_Control extends WP_Customize_Control { {{ data.label }} <# } #> <# if ( data.description ) { #> - {{ data.description }} + {{{ data.description }}} <# } #>