Ticket #30234: 30234.diff
| File 30234.diff, 1.2 KB (added by , 12 years ago) |
|---|
-
src/wp-content/themes/twentyfifteen/inc/custom-header.php
167 167 * @since Twenty Fifteen 1.0 168 168 */ 169 169 function twentyfifteen_header_background_color_css() { 170 $color_scheme = twentyfifteen_get_color_scheme(); 171 $default_color = $color_scheme[1]; 170 172 $header_background_color = get_theme_mod( 'header_background_color', '#ffffff' ); 171 173 172 174 // Don't do anything if the current color is the default. 173 if ( '#ffffff' === $header_background_color ) {175 if ( $header_background_color === $default_color ) { 174 176 return; 175 177 } 176 178 … … 208 210 * @since Twenty Fifteen 1.0 209 211 */ 210 212 function twentyfifteen_sidebar_text_color_css() { 213 $color_scheme = twentyfifteen_get_color_scheme(); 214 $default_color = $color_scheme[4]; 211 215 $sidebar_link_color = get_theme_mod( 'sidebar_textcolor', '#333333' ); 212 216 213 217 // Don't do anything if the current color is the default. 214 if ( '#333333' === $sidebar_link_color ) {218 if ( $sidebar_link_color === $default_color ) { 215 219 return; 216 220 } 217 221
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)