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:
Lance Willett 2013-10-15 17:56:10 +00:00
parent 9001d030f3
commit 3910e56231
1 changed files with 2 additions and 4 deletions

View File

@ -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 );
}