mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -82,7 +82,7 @@ function wp_print_scripts( $handles = false ) {
|
||||
}
|
||||
}
|
||||
|
||||
return $wp_scripts->do_items( $handles );
|
||||
return wp_scripts()->do_items( $handles );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user