Load: remove session.php and, instead, move the 2 require calls to wp-settings.php. This simplifies the include path.

See #36335.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2016-08-26 17:45:17 +00:00
parent 51a2235c19
commit 524effb58f
4 changed files with 4 additions and 11 deletions

View File

@ -707,6 +707,7 @@ $_old_files = array(
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
// 4.7
'wp-includes/locale.php',
'wp-includes/session.php',
);
/**

View File

@ -1,9 +0,0 @@
<?php
/**
* Session API
*
* @since 4.0.0
*/
require_once( ABSPATH . WPINC . '/class-wp-session-tokens.php' );
require_once( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' );

View File

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

View File

@ -149,7 +149,8 @@ require( ABSPATH . WPINC . '/class-wp-theme.php' );
require( ABSPATH . WPINC . '/template.php' );
require( ABSPATH . WPINC . '/user.php' );
require( ABSPATH . WPINC . '/class-wp-user-query.php' );
require( ABSPATH . WPINC . '/session.php' );
require( ABSPATH . WPINC . '/class-wp-session-tokens.php' );
require( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' );
require( ABSPATH . WPINC . '/meta.php' );
require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );