mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)
git-svn-id: http://core.svn.wordpress.org/trunk@24032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f820654a5b
commit
6aa74f9b93
@ -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() )
|
||||
|
Loading…
Reference in New Issue
Block a user