Make WordPress Core

Changeset 25790


Ignore:
Timestamp:
10/15/2013 05:56:00 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove style tags from accent color output, following r25786. Fixes #25599, props celloexpressions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php

    r25769 r25790  
    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,
     
    199198        .widget-area a:hover {
    200199            color: ' . $accent_much_lighter . ';
    201         }
    202         </style>';
     200        }';
    203201
    204202    wp_add_inline_style( 'twentyfourteen-style', $css );
Note: See TracChangeset for help on using the changeset viewer.