mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-18 06:11:30 +01:00
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:
parent
51a2235c19
commit
524effb58f
@ -707,6 +707,7 @@ $_old_files = array(
|
|||||||
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
|
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
|
||||||
// 4.7
|
// 4.7
|
||||||
'wp-includes/locale.php',
|
'wp-includes/locale.php',
|
||||||
|
'wp-includes/session.php',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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' );
|
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
@ -149,7 +149,8 @@ require( ABSPATH . WPINC . '/class-wp-theme.php' );
|
|||||||
require( ABSPATH . WPINC . '/template.php' );
|
require( ABSPATH . WPINC . '/template.php' );
|
||||||
require( ABSPATH . WPINC . '/user.php' );
|
require( ABSPATH . WPINC . '/user.php' );
|
||||||
require( ABSPATH . WPINC . '/class-wp-user-query.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 . '/meta.php' );
|
||||||
require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
|
require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
|
||||||
require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );
|
require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );
|
||||||
|
Loading…
Reference in New Issue
Block a user