Changeset 47198 for trunk/src/wp-admin/includes/class-core-upgrader.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-core-upgrader.php
r47122 r47198 63 63 global $wp_filesystem; 64 64 65 include( ABSPATH . WPINC . '/version.php' ); // $wp_version;65 require ABSPATH . WPINC . '/version.php'; // $wp_version; 66 66 67 67 $start_time = time(); … … 162 162 $wp_filesystem->chmod( $wp_dir . 'wp-admin/includes/update-core.php', FS_CHMOD_FILE ); 163 163 164 require_once ( ABSPATH . 'wp-admin/includes/update-core.php' );164 require_once ABSPATH . 'wp-admin/includes/update-core.php'; 165 165 166 166 if ( ! function_exists( 'update_core' ) ) { … … 271 271 */ 272 272 public static function should_update_to_version( $offered_ver ) { 273 include( ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.z273 require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z 274 274 275 275 $current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
Note: See TracChangeset
for help on using the changeset viewer.