Make WordPress Core

Ticket #38493: 38493.1.diff

File 38493.1.diff, 1.3 KB (added by celloexpressions, 9 years ago)

Lowercase "help icon".

  • src/wp-includes/class-wp-customize-control.php

    diff --git src/wp-includes/class-wp-customize-control.php src/wp-includes/class-wp-customize-control.php
    index c45af67..7bed232 100644
    class WP_Customize_Control { 
    532532                                        if ( ! empty( $this->description ) ) : ?>
    533533                                                <span class="description customize-control-description"><?php echo $this->description; ?></span>
    534534                                        <?php endif; ?>
    535                                         <textarea rows="5" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea>
     535                                        <textarea rows="5" <?php $this->input_attrs(); ?> <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea>
    536536                                </label>
    537537                                <?php
    538538                                break;
  • src/wp-includes/class-wp-customize-manager.php

    diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
    index 229be36..bc9e111 100644
    final class WP_Customize_Manager { 
    33933393                        'type'     => 'textarea',
    33943394                        'section'  => 'custom_css',
    33953395                        'settings' => array( 'default' => $custom_css_setting->id ),
     3396                        'input_attrs' => array(
     3397                                'placeholder' => __( "/*\nYou can add your own CSS here.\n\nClick the help icon above to learn more.\n*/" ),
     3398                        )
    33963399                ) );
    33973400        }
    33983401