Changeset 41771 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 10/05/2017 02:55:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r41768 r41771 483 483 $input_id = '_customize-input-' . $this->id; 484 484 $description_id = '_customize-description-' . $this->id; 485 $describedby_attr = ( ! empty( $this->description ) ) ? ' aria-describedby="' . esc_attr( $description_id ) . '"' : '';485 $describedby_attr = ( ! empty( $this->description ) ) ? ' aria-describedby="' . esc_attr( $description_id ) . '" ' : ''; 486 486 switch ( $this->type ) { 487 487 case 'checkbox': … … 521 521 <input 522 522 id="<?php echo esc_attr( $input_id . '-radio-' . $value ); ?>" 523 type="radio" <?php echo $describedby_attr; ?> 523 type="radio" 524 <?php echo $describedby_attr; ?> 524 525 value="<?php echo esc_attr( $value ); ?>" 525 526 name="<?php echo esc_attr( $name ); ?>"
Note: See TracChangeset
for help on using the changeset viewer.