Changeset 38470 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 08/31/2016 04:30:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r38459 r38470 165 165 166 166 if ( wp_http_supports( array( 'ssl' ) ) ) { 167 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 167 168 $upgrader = new WP_Automatic_Updater; 168 169 $future_minor_update = (object) array( … … 188 189 189 190 if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) { 191 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 190 192 $upgrader = new WP_Automatic_Updater; 191 193 if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) { … … 433 435 global $wp_filesystem; 434 436 437 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 438 435 439 if ( $reinstall ) 436 440 $url = 'update-core.php?action=do-core-reinstall'; … … 703 707 704 708 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 709 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 705 710 706 711 $url = 'update-core.php?action=do-translation-upgrade';
Note: See TracChangeset
for help on using the changeset viewer.