Load: Re-add `session.php`.
`session.php` is occasionally included directly by custom external code, so should continue to be available. This behaviour is deprecated. Partial revert of [38373]. See #36335, #39027. Built from https://develop.svn.wordpress.org/trunk@39453 git-svn-id: http://core.svn.wordpress.org/trunk@39393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f048b66f95
commit
3487c1bda8
|
@ -709,7 +709,7 @@ $_old_files = array(
|
||||||
// Don't delete, yet: 'wp-admin/includes/class-wp-upgrader-skins.php',
|
// Don't delete, yet: 'wp-admin/includes/class-wp-upgrader-skins.php',
|
||||||
// Don't delete, yet: 'wp-includes/class-feed.php',
|
// Don't delete, yet: 'wp-includes/class-feed.php',
|
||||||
'wp-includes/locale.php',
|
'wp-includes/locale.php',
|
||||||
'wp-includes/session.php',
|
// Don't delete, yet: 'wp-includes/session.php',
|
||||||
'wp-includes/customize/class-wp-customize-themes-panel.php', // Removed in beta; when the feature comes back remember to remove it from this array. See #37661.
|
'wp-includes/customize/class-wp-customize-themes-panel.php', // Removed in beta; when the feature comes back remember to remove it from this array. See #37661.
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Session API
|
||||||
|
*
|
||||||
|
* @since 4.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
_deprecated_file( basename( __FILE__ ), '4.7.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.8-alpha-39451';
|
$wp_version = '4.8-alpha-39453';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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