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:
parent
390ceba6c7
commit
2a9b372471
|
@ -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' );
|
||||||
|
|
|
@ -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' );
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue