mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Script Loader: Ensure default packages are registered when loaded via load-scripts.php.
Props CantoThemes, ocean90. Merges [43877] to trunk. Fixes #45271. git-svn-id: https://develop.svn.wordpress.org/trunk@44237 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -35,6 +35,8 @@ $out = '';
|
||||
|
||||
$wp_scripts = new WP_Scripts();
|
||||
wp_default_scripts( $wp_scripts );
|
||||
wp_default_packages_vendor( $wp_scripts );
|
||||
wp_default_packages_scripts( $wp_scripts );
|
||||
|
||||
if ( isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) && stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) === $wp_version ) {
|
||||
$protocol = $_SERVER['SERVER_PROTOCOL'];
|
||||
|
||||
Reference in New Issue
Block a user