Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)

git-svn-id: https://develop.svn.wordpress.org/trunk@24032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-04-18 17:15:18 +00:00
parent af8ffd36e9
commit 68534cf555

View File

@ -487,7 +487,7 @@ add_filter( 'shortcode_atts_gallery', 'twentythirteen_gallery_atts' );
function twentythirteen_body_class( $classes ) {
// Enable custom font class only if the font CSS is queued to load.
if ( wp_style_is( 'twentythirteen-fonts', 'queue' ) )
if ( wp_style_is( 'twentythirteen-fonts', 'enqueued' ) )
$classes[] = 'custom-font';
if ( ! is_multi_author() )