Twenty Seventeen: Make sure header text color is applied when color schemes are active.

Props laurelfulford, ocean90.

Merges [39397] to the 4.7 branch.
Fixes #38980 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39398


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2016-12-01 00:12:34 +00:00
parent 71169d688a
commit 7b69275632
2 changed files with 11 additions and 3 deletions

View File

@ -84,9 +84,17 @@ function twentyseventeen_header_style() {
else : else :
?> ?>
.site-title a, .site-title a,
.colors-dark .site-title a,
.colors-custom .site-title a,
body.has-header-image .site-title a, body.has-header-image .site-title a,
body.has-header-image.colors-dark .site-title a,
body.has-header-image.colors-custom .site-title a,
.site-description, .site-description,
body.has-header-image .site-description { .colors-dark .site-description,
.colors-custom .site-description,
body.has-header-image .site-description,
body.has-header-image.colors-dark .site-description,
body.has-header-image.colors-custom .site-description {
color: #<?php echo esc_attr( $header_text_color ); ?>; color: #<?php echo esc_attr( $header_text_color ); ?>;
} }
<?php endif; ?> <?php endif; ?>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-RC1-39395'; $wp_version = '4.7-RC1-39398';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.