Load: Re-add `class-wp-upgrader-skins.php`, `class-feed.php`, `locale.php`, and `session.php`.
Several files were removed during 4.7 that can be loaded externally, so we need to keep them, though their use is now deprecated. Merges [39449], [39450], [39453], [39455], and [39456] to the 4.7 branch. Fixes #39027. Built from https://develop.svn.wordpress.org/branches/4.7@39459 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7847fee343
commit
b41001d4a1
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/**
|
||||
* The User Interface "Skins" for the WordPress File Upgrader
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Upgrader
|
||||
* @since 2.8.0
|
||||
*/
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '4.7.0', 'class-wp-upgrader.php' );
|
||||
|
||||
/** WP_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader-skin.php';
|
||||
|
||||
/** Plugin_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-plugin-upgrader-skin.php';
|
||||
|
||||
/** Theme_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-theme-upgrader-skin.php';
|
||||
|
||||
/** Bulk_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-bulk-upgrader-skin.php';
|
||||
|
||||
/** Bulk_Plugin_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-bulk-plugin-upgrader-skin.php';
|
||||
|
||||
/** Bulk_Theme_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-bulk-theme-upgrader-skin.php';
|
||||
|
||||
/** Plugin_Installer_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-plugin-installer-skin.php';
|
||||
|
||||
/** Theme_Installer_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-theme-installer-skin.php';
|
||||
|
||||
/** Language_Pack_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-language-pack-upgrader-skin.php';
|
||||
|
||||
/** Automatic_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-automatic-upgrader-skin.php';
|
||||
|
||||
/** WP_Ajax_Upgrader_Skin class */
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-ajax-upgrader-skin.php';
|
|
@ -706,10 +706,10 @@ $_old_files = array(
|
|||
// 4.6
|
||||
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
|
||||
// 4.7
|
||||
'wp-admin/includes/class-wp-upgrader-skins.php',
|
||||
'wp-includes/class-feed.php',
|
||||
'wp-includes/locale.php',
|
||||
'wp-includes/session.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/locale.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.
|
||||
);
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* Feed API
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Feed
|
||||
*/
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
|
||||
|
||||
if ( ! class_exists( 'SimplePie', false ) ) {
|
||||
require_once( ABSPATH . WPINC . '/class-simplepie.php' );
|
||||
}
|
||||
|
||||
require_once( ABSPATH . WPINC . '/class-wp-feed-cache.php' );
|
||||
require_once( ABSPATH . WPINC . '/class-wp-feed-cache-transient.php' );
|
||||
require_once( ABSPATH . WPINC . '/class-wp-simplepie-file.php' );
|
||||
require_once( ABSPATH . WPINC . '/class-wp-simplepie-sanitize-kses.php' );
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Locale API
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage i18n
|
||||
* @since 1.2.0
|
||||
*/
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '4.7.0' );
|
|
@ -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
|
||||
*/
|
||||
$wp_version = '4.7-RC1-39458';
|
||||
$wp_version = '4.7-RC1-39459';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue