After [32596] and [32597], ensure that `wp_scripts|styles()` is called to ensure an instance is created of `WP_Scripts|Styles()` before calling `->do_items()`.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32728 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-06-12 16:53:17 +00:00
parent dba2b6a9c0
commit c7c55f20b5
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ function wp_print_scripts( $handles = false ) {
}
}
return $wp_scripts->do_items( $handles );
return wp_scripts()->do_items( $handles );
}
/**

View File

@ -61,7 +61,7 @@ function wp_print_styles( $handles = false ) {
}
}
return $wp_styles->do_items( $handles );
return wp_styles()->do_items( $handles );
}
/**