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' ) {
|
function wp_style_is( $handle, $list = 'queue' ) {
|
||||||
global $wp_styles;
|
global $wp_styles;
|
||||||
if ( !is_a($wp_styles, 'WP_Scripts') )
|
if ( !is_a($wp_styles, 'WP_Styles') )
|
||||||
$wp_styles = new WP_Styles();
|
$wp_styles = new WP_Styles();
|
||||||
|
|
||||||
$query = $wp_styles->query( $handle, $list );
|
$query = $wp_styles->query( $handle, $list );
|
||||||
|
|
Loading…
Reference in New Issue