Ticket #30165: 30165.2.diff
| File 30165.2.diff, 1.4 KB (added by , 11 years ago) |
|---|
-
src/wp-content/themes/twentyfifteen/inc/customizer.php
42 42 ) ); 43 43 44 44 $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_textcolor', array( 45 'label' => esc_html__( 'Header & Sidebar Text Color', 'twentyfifteen' ), 46 'section' => 'colors', 45 'label' => esc_html__( 'Header and Sidebar Text Color', 'twentyfifteen' ), 46 'description' => esc_html__( 'May only be applied to the sidebar on wider screens.', 'twentyfifteen' ), 47 'section' => 'colors', 47 48 ) ) ); 48 49 49 50 // Remove the core header textcolor control, as it shares the sidebar text color. … … 56 57 ) ); 57 58 58 59 $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'header_background_color', array( 59 'label' => esc_html__( 'Header & Sidebar Background Color', 'twentyfifteen' ), 60 'section' => 'colors', 60 'label' => esc_html__( 'Header and Sidebar Background Color', 'twentyfifteen' ), 61 'description' => esc_html__( 'May only be applied to the sidebar on wider screens.', 'twentyfifteen' ), 62 'section' => 'colors', 61 63 ) ) ); 62 64 } 63 65 add_action( 'customize_register', 'twentyfifteen_customize_register', 11 );