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:
azaozz 2009-06-27 06:55:49 +00:00
parent fe384afb00
commit f4c520ff02
1 changed files with 1 additions and 1 deletions

View File

@ -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 );