Twenty Fourteen: remove `style` tags from accent color output, following r25786. Fixes #25599, props celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@25790 git-svn-id: http://core.svn.wordpress.org/trunk@25702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9001d030f3
commit
3910e56231
|
@ -112,8 +112,7 @@ function twentyfourteen_customizer_styles() {
|
|||
$accent_lighter = get_theme_mod( 'accent_lighter' );
|
||||
$accent_much_lighter = get_theme_mod( 'accent_much_lighter' );
|
||||
|
||||
$css = '<style type="text/css" id="twentyfourteen-accent-color">
|
||||
/* Custom accent color. */
|
||||
$css = '/* Custom accent color. */
|
||||
h1 a:hover,
|
||||
h2 a:hover,
|
||||
h3 a:hover,
|
||||
|
@ -198,8 +197,7 @@ function twentyfourteen_customizer_styles() {
|
|||
.featured-content .more-link,
|
||||
.widget-area a:hover {
|
||||
color: ' . $accent_much_lighter . ';
|
||||
}
|
||||
</style>';
|
||||
}';
|
||||
|
||||
wp_add_inline_style( 'twentyfourteen-style', $css );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue