- Timestamp:
- 10/25/2016 10:32:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r38850 r38931 45 45 ) ); 46 46 47 $wp_customize->add_control( 'colorscheme_hue', array( 48 'type' => 'range', 49 'input_attrs' => array( 50 'min' => 0, 51 'max' => 359, 52 'step' => 1, 53 ), 47 $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'colorscheme_hue', array( 48 'mode' => 'hue', 54 49 'section' => 'colors', 55 50 'priority' => 6, 56 'description' => 'Temporary hue slider will be replaced with a visual hue picker that is only shown when a custom scheme is selected', // temporary, intentionally untranslated. 57 // @todo change this to a visual hue picker control, ideally extending the color control and leveraging iris by adding a `hue` mode in core. 58 // See https://core.trac.wordpress.org/ticket/38263 59 // @todo only show this control when the colorscheme is custom. 60 ) ); 51 ) ) ); 61 52 62 53 /**
Note: See TracChangeset
for help on using the changeset viewer.