Script Loader: autoload in `load-{scripts|styles}.php`.

Props JohnPBloch.
See #36335.

Built from https://develop.svn.wordpress.org/trunk@38412


git-svn-id: http://core.svn.wordpress.org/trunk@38353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2016-08-28 00:07:33 +00:00
parent 390ceba6c7
commit 2a9b372471
3 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@ $load = array_unique( explode( ',', $load ) );
if ( empty($load) ) if ( empty($load) )
exit; exit;
require( ABSPATH . 'wp-vendor/autoload_52.php' );
require( ABSPATH . 'wp-admin/includes/noop.php' ); require( ABSPATH . 'wp-admin/includes/noop.php' );
require( ABSPATH . WPINC . '/script-loader.php' ); require( ABSPATH . WPINC . '/script-loader.php' );
require( ABSPATH . WPINC . '/version.php' ); require( ABSPATH . WPINC . '/version.php' );

View File

@ -14,6 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
define( 'WPINC', 'wp-includes' ); define( 'WPINC', 'wp-includes' );
require( ABSPATH . 'wp-vendor/autoload_52.php' );
require( ABSPATH . 'wp-admin/includes/noop.php' ); require( ABSPATH . 'wp-admin/includes/noop.php' );
require( ABSPATH . WPINC . '/script-loader.php' ); require( ABSPATH . WPINC . '/script-loader.php' );
require( ABSPATH . WPINC . '/version.php' ); require( ABSPATH . WPINC . '/version.php' );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38411'; $wp_version = '4.7-alpha-38412';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.