Changeset 47198 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r47164 r47198 18 18 19 19 /** WordPress Dependency Class */ 20 require ( ABSPATH . WPINC . '/class-wp-dependency.php' );20 require ABSPATH . WPINC . '/class-wp-dependency.php'; 21 21 22 22 /** WordPress Dependencies Class */ 23 require ( ABSPATH . WPINC . '/class.wp-dependencies.php' );23 require ABSPATH . WPINC . '/class.wp-dependencies.php'; 24 24 25 25 /** WordPress Scripts Class */ 26 require ( ABSPATH . WPINC . '/class.wp-scripts.php' );26 require ABSPATH . WPINC . '/class.wp-scripts.php'; 27 27 28 28 /** WordPress Scripts Functions */ 29 require ( ABSPATH . WPINC . '/functions.wp-scripts.php' );29 require ABSPATH . WPINC . '/functions.wp-scripts.php'; 30 30 31 31 /** WordPress Styles Class */ 32 require ( ABSPATH . WPINC . '/class.wp-styles.php' );32 require ABSPATH . WPINC . '/class.wp-styles.php'; 33 33 34 34 /** WordPress Styles Functions */ 35 require ( ABSPATH . WPINC . '/functions.wp-styles.php' );35 require ABSPATH . WPINC . '/functions.wp-styles.php'; 36 36 37 37 /** … … 255 255 'i18n', 256 256 'is-shallow-equal', 257 'keyboard-shortcuts',258 257 'keycodes', 259 258 'list-reusable-blocks', … … 296 295 } 297 296 298 $asset_file = include ABSPATH . WPINC . "/assets/dist/$package$suffix.asset.php";297 $asset_file = require ABSPATH . WPINC . "/assets/dist/$package$suffix.asset.php"; 299 298 $dependencies = $asset_file['dependencies']; 300 299 … … 597 596 if ( $suffixes === null ) { 598 597 // Include an unmodified $wp_version. 599 include( ABSPATH . WPINC . '/version.php' );598 require ABSPATH . WPINC . '/version.php'; 600 599 601 600 $develop_src = false !== strpos( $wp_version, '-src' ); … … 1667 1666 function wp_default_styles( &$styles ) { 1668 1667 // Include an unmodified $wp_version. 1669 include( ABSPATH . WPINC . '/version.php' );1668 require ABSPATH . WPINC . '/version.php'; 1670 1669 1671 1670 if ( ! defined( 'SCRIPT_DEBUG' ) ) { … … 2043 2042 } 2044 2043 2045 require_once ( ABSPATH . 'wp-admin/includes/class-wp-community-events.php' );2044 require_once ABSPATH . 'wp-admin/includes/class-wp-community-events.php'; 2046 2045 2047 2046 $user_id = get_current_user_id();
Note: See TracChangeset
for help on using the changeset viewer.