Make WordPress Core


Ignore:
Timestamp:
12/16/2018 08:37:30 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Script Loader: Ensure default packages are registered when loaded via load-scripts.php.

Props CantoThemes, ocean90.
Merges [43877] to trunk.
Fixes #45271.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-admin/load-scripts.php

    r43580 r44237  
    3636$wp_scripts = new WP_Scripts();
    3737wp_default_scripts( $wp_scripts );
     38wp_default_packages_vendor( $wp_scripts );
     39wp_default_packages_scripts( $wp_scripts );
    3840
    3941if ( isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) && stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) === $wp_version ) {
Note: See TracChangeset for help on using the changeset viewer.