Make WordPress Core

Changeset 30326


Ignore:
Timestamp:
11/13/2014 11:43:06 AM (10 years ago)
Author:
ocean90
Message:

Customizer: Prevent double-encoding in WP_Customize_Control.

Control's label and description may include HTML.

fixes #29572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r30309 r30326  
    617617        <label>
    618618            <# if ( data.label ) { #>
    619                 <span class="customize-control-title">{{ data.label }}</span>
     619                <span class="customize-control-title">{{{ data.label }}}</span>
    620620            <# } #>
    621621            <# if ( data.description ) { #>
    622                 <span class="description customize-control-description">{{ data.description }}</span>
     622                <span class="description customize-control-description">{{{ data.description }}}</span>
    623623            <# } #>
    624624            <div class="customize-control-content">
Note: See TracChangeset for help on using the changeset viewer.