Ticket #25540: 25540.simple.diff
File 25540.simple.diff, 1.0 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentyfourteen/inc/customizer.php
8 8 9 9 /** 10 10 * Add postMessage support for site title and description for the Theme Customizer. 11 * Remove the header text color control, as it isn't very useful considering the solid background color. 12 * Add the setting and control for the custom accent color option. 11 13 * 12 14 * @param WP_Customize_Manager $wp_customize Theme Customizer object. 13 15 */ … … 14 16 function twentyfourteen_customize_register( $wp_customize ) { 15 17 $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; 16 18 $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 19 20 $wp_customize->remove_control( 'header_textcolor' ); 17 21 18 22 $wp_customize->add_setting( 'accent_color', array( 19 23 'default' => '#24890d',