Customizer: Prevent double-encoding in WP_Customize_Control
.
Control's label and description may include HTML. fixes #29572. git-svn-id: https://develop.svn.wordpress.org/trunk@30326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6f98ce5a45
commit
9c6b323976
@ -616,10 +616,10 @@ class WP_Customize_Color_Control extends WP_Customize_Control {
|
||||
} #>
|
||||
<label>
|
||||
<# if ( data.label ) { #>
|
||||
<span class="customize-control-title">{{ data.label }}</span>
|
||||
<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>
|
||||
<# } #>
|
||||
<div class="customize-control-content">
|
||||
<input class="color-picker-hex" type="text" maxlength="7" placeholder="<?php esc_attr_e( 'Hex Value' ); ?>" {{ defaultValue }} />
|
||||
|
Loading…
Reference in New Issue
Block a user