mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
script loader fix from mdawaffe. fixes #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@4105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -188,6 +188,8 @@ class _WP_Script {
|
||||
*/
|
||||
function wp_print_scripts( $handles = false ) {
|
||||
do_action( 'wp_print_scripts' );
|
||||
if ( '' === $handles ) // for wp_head
|
||||
$handles = false;
|
||||
|
||||
global $wp_scripts;
|
||||
if ( !is_a($wp_scripts, 'WP_Scripts') ) {
|
||||
|
||||
Reference in New Issue
Block a user