REST API: don't load `wp-admin/includes/admin.php` on every request.
Props swissspidy. Fixes #34395. Built from https://develop.svn.wordpress.org/trunk@35353 git-svn-id: http://core.svn.wordpress.org/trunk@35319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
560b276b0b
commit
31e0b06125
|
@ -7,9 +7,6 @@
|
|||
* @since 4.4.0
|
||||
*/
|
||||
|
||||
/** Admin bootstrap */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
|
||||
/**
|
||||
* Core class used to implement the WordPress REST API server.
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35352';
|
||||
$wp_version = '4.4-alpha-35353';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue