Upgrader: Rename `class-wp-automatic-upgrader.php` to `class-wp-automatic-updater.php`.
The class is named `WP_Automatic_Updater` not `WP_Automatic_Upgrader` like all the other upgrader classes. Introduced in [37409]. Merge of [38242] to the 4.6 branch. Props DrewAPicture for review. Fixes #37628. Built from https://develop.svn.wordpress.org/branches/4.6@38243 git-svn-id: http://core.svn.wordpress.org/branches/4.6@38184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae8722f109
commit
7fec14f382
|
@ -903,5 +903,5 @@ require_once ABSPATH . 'wp-admin/includes/class-core-upgrader.php';
|
||||||
/** File_Upload_Upgrader class */
|
/** File_Upload_Upgrader class */
|
||||||
require_once ABSPATH . 'wp-admin/includes/class-file-upload-upgrader.php';
|
require_once ABSPATH . 'wp-admin/includes/class-file-upload-upgrader.php';
|
||||||
|
|
||||||
/** WP_Automatic_Upgrader class */
|
/** WP_Automatic_Updater class */
|
||||||
require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-upgrader.php';
|
require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updater.php';
|
||||||
|
|
|
@ -703,6 +703,8 @@ $_old_files = array(
|
||||||
'wp-includes/js/tinymce/plugins/wpfullscreen',
|
'wp-includes/js/tinymce/plugins/wpfullscreen',
|
||||||
// 4.5
|
// 4.5
|
||||||
'wp-includes/theme-compat/comments-popup.php',
|
'wp-includes/theme-compat/comments-popup.php',
|
||||||
|
// 4.6
|
||||||
|
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-RC1-38241';
|
$wp_version = '4.6-RC1-38243';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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