Changeset 38402 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 08/27/2016 02:36:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r38399 r38402 164 164 165 165 if ( wp_http_supports( array( 'ssl' ) ) ) { 166 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 166 167 $upgrader = new WP_Automatic_Updater; 167 168 $future_minor_update = (object) array( … … 187 188 188 189 if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) { 190 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 189 191 $upgrader = new WP_Automatic_Updater; 190 192 if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) { … … 437 439 global $wp_filesystem; 438 440 441 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 442 439 443 if ( $reinstall ) 440 444 $url = 'update-core.php?action=do-core-reinstall'; … … 707 711 708 712 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 713 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 709 714 710 715 $url = 'update-core.php?action=do-translation-upgrade';
Note: See TracChangeset
for help on using the changeset viewer.