Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f271e5408f
commit
133af6e1d7
|
@ -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…
Reference in New Issue