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
This commit is contained in:
parent
b21241c5db
commit
8326ab1fc9
|
@ -737,7 +737,7 @@ class WP_Customize_Upload_Control extends WP_Customize_Control {
|
|||
<span class="customize-control-title">{{ data.label }}</span>
|
||||
<# } #>
|
||||
<# if ( data.description ) { #>
|
||||
<span class="description customize-control-description">{{ data.description }}</span>
|
||||
<span class="description customize-control-description">{{{ data.description }}}</span>
|
||||
<# } #>
|
||||
</label>
|
||||
|
||||
|
|
Loading…
Reference in New Issue