From f4c520ff02feb3c1dc7cd47506b81c0698ee1f2c Mon Sep 17 00:00:00 2001 From: azaozz Date: Sat, 27 Jun 2009 06:55:49 +0000 Subject: [PATCH] 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 --- wp-includes/functions.wp-styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.wp-styles.php b/wp-includes/functions.wp-styles.php index 22d1e160d5..5251bdaab3 100644 --- a/wp-includes/functions.wp-styles.php +++ b/wp-includes/functions.wp-styles.php @@ -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 );