← All changes
|
features/customizer/controls/class-Pix_Customize_Textarea_Control.php
+2
-1
1.5.0
→
2.5.1
View file →
| @@ -13,13 +13,14 @@ | ||
| 13 | 13 | * |
| 14 | 14 | * @since 3.4.0 |
| 15 | 15 | */ |
| 16 | 16 | public function render_content() { ?> |
| 17 | + | |
| 17 | 18 | <label> |
| 18 | 19 | <?php if ( ! empty( $this->label ) ) : ?> |
| 19 | 20 | <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> |
| 20 | 21 | <?php endif; ?> |
| 21 | - <textarea rows="5" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea> | |
| 22 | + <textarea id="<?php echo $this->id; ?>" rows="5" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea> | |
| 22 | 23 | <?php if ( ! empty( $this->description ) ) : ?> |
| 23 | 24 | <span class="description customize-control-description"><?php echo $this->description; ?></span> |
| 24 | 25 | <?php endif; ?> |
| 25 | 26 | </label> |