mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Bootstrap: after r38409 and r38410, revert r38402 which reverted r38399.
This fixes the paths in `wp-vendor/` that were including `src`. I want to drop this in so we can find out what else will break. See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -163,7 +163,6 @@ function core_upgrade_preamble() {
|
||||
_e('You have the latest version of WordPress.');
|
||||
|
||||
if ( wp_http_supports( array( 'ssl' ) ) ) {
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
$upgrader = new WP_Automatic_Updater;
|
||||
$future_minor_update = (object) array(
|
||||
'current' => $wp_version . '.1.next.minor',
|
||||
@@ -187,7 +186,6 @@ function core_upgrade_preamble() {
|
||||
}
|
||||
|
||||
if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
$upgrader = new WP_Automatic_Updater;
|
||||
if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) {
|
||||
echo '<div class="updated inline"><p>';
|
||||
@@ -438,8 +436,6 @@ function list_translation_updates() {
|
||||
function do_core_upgrade( $reinstall = false ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
||||
|
||||
if ( $reinstall )
|
||||
$url = 'update-core.php?action=do-core-reinstall';
|
||||
else
|
||||
@@ -710,7 +706,6 @@ if ( 'upgrade-core' == $action ) {
|
||||
check_admin_referer( 'upgrade-translations' );
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
||||
|
||||
$url = 'update-core.php?action=do-translation-upgrade';
|
||||
$nonce = 'upgrade-translations';
|
||||
|
||||
Reference in New Issue
Block a user