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