Make WordPress Core

Ticket #25599: 25599.diff

File 25599.diff, 804 bytes (added by celloexpressions, 11 years ago)

Remove style tags

  • wp-content/themes/twentyfourteen/inc/customizer.php

     
    112112        $accent_lighter = get_theme_mod( 'accent_lighter' );
    113113        $accent_much_lighter = get_theme_mod( 'accent_much_lighter' );
    114114
    115         $css = '<style type="text/css" id="twentyfourteen-accent-color">
    116                 /* Custom accent color. */
     115        $css = '/* Custom accent color. */
    117116                h1 a:hover,
    118117                h2 a:hover,
    119118                h3 a:hover,
     
    198197                .featured-content .more-link,
    199198                .widget-area a:hover {
    200199                        color: ' . $accent_much_lighter . ';
    201                 }
    202                 </style>';
     200                }';
    203201
    204202        wp_add_inline_style( 'twentyfourteen-style', $css );
    205203}