Make WordPress Core


Ignore:
Timestamp:
07/16/2025 10:50:07 PM (4 months ago)
Author:
joedolson
Message:

Customize: Use explicit labels in hue picker.

Add for and id attributes to the customizer hue picker, so labels are explicitly associated. Move picker outside of label element. Add label value for Twenty Seventeen, Twenty Nineteen, and Twenty Twenty.

Props afercia, subrataemfluence, dlh, jorbin, sainathpoojary, abcd95, mleraygp, joedolson.
Fixes #42078.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/inc/customizer.php

    r56526 r60478  
    7676            'primary_color_hue',
    7777            array(
     78                'label'       => __( 'Custom Color', 'twentynineteen' ),
    7879                'description' => __( 'Apply a custom color for buttons, links, featured images, etc.', 'twentynineteen' ),
    7980                'section'     => 'colors',
Note: See TracChangeset for help on using the changeset viewer.