mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 22:15:28 +00:00
Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fe384afb00
commit
f4c520ff02
@ -92,7 +92,7 @@ function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false,
|
||||
*/
|
||||
function wp_style_is( $handle, $list = 'queue' ) {
|
||||
global $wp_styles;
|
||||
if ( !is_a($wp_styles, 'WP_Scripts') )
|
||||
if ( !is_a($wp_styles, 'WP_Styles') )
|
||||
$wp_styles = new WP_Styles();
|
||||
|
||||
$query = $wp_styles->query( $handle, $list );
|
||||
|
Loading…
x
Reference in New Issue
Block a user