Ticket #27981: 27981.3.diff
File 27981.3.diff, 4.2 KB (added by , 11 years ago) |
---|
-
src/wp-includes/class-wp-customize-control.php
285 285 <input type="checkbox" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); checked( $this->value() ); ?> /> 286 286 <?php echo esc_html( $this->label ); ?> 287 287 <?php if ( ! empty( $this->description ) ) : ?> 288 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>288 <span class="description customize-control-description"><?php echo $this->description; ?></span> 289 289 <?php endif; ?> 290 290 </label> 291 291 <?php … … 300 300 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 301 301 <?php endif; 302 302 if ( ! empty( $this->description ) ) : ?> 303 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>303 <span class="description customize-control-description"><?php echo $this->description ; ?></span> 304 304 <?php endif; 305 305 306 306 foreach ( $this->choices as $value => $label ) : … … 322 322 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 323 323 <?php endif; 324 324 if ( ! empty( $this->description ) ) : ?> 325 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>325 <span class="description customize-control-description"><?php echo $this->description; ?></span> 326 326 <?php endif; ?> 327 327 328 328 <select <?php $this->link(); ?>> … … 341 341 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 342 342 <?php endif; 343 343 if ( ! empty( $this->description ) ) : ?> 344 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>344 <span class="description customize-control-description"><?php echo $this->description; ?></span> 345 345 <?php endif; ?> 346 346 <textarea rows="5" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea> 347 347 </label> … … 374 374 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 375 375 <?php endif; 376 376 if ( ! empty( $this->description ) ) : ?> 377 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>377 <span class="description customize-control-description"><?php echo $this->description; ?></span> 378 378 <?php endif; ?> 379 379 <input type="<?php echo esc_attr( $this->type ); ?>" <?php $this->input_attrs(); ?> value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); ?> /> 380 380 </label> … … 460 460 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 461 461 <?php endif; 462 462 if ( ! empty( $this->description ) ) : ?> 463 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>463 <span class="description customize-control-description"><?php echo $this->description; ?></span> 464 464 <?php endif; ?> 465 465 466 466 <div class="customize-control-content"> … … 523 523 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 524 524 <?php endif; 525 525 if ( ! empty( $this->description ) ) : ?> 526 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>526 <span class="description customize-control-description"><?php echo $this->description; ?></span> 527 527 <?php endif; ?> 528 528 <div> 529 529 <a href="#" class="button-secondary upload"><?php _e( 'Upload' ); ?></a> … … 610 610 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 611 611 <?php endif; 612 612 if ( ! empty( $this->description ) ) : ?> 613 <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>613 <span class="description customize-control-description"><?php echo $this->description; ?></span> 614 614 <?php endif; ?> 615 615 616 616 <div class="customize-control-content">