Changeset 28479 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 05/18/2014 08:51:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r28468 r28479 1394 1394 global $wp_filesystem; 1395 1395 1396 include ABSPATH . WPINC . '/version.php'; // $wp_version;1396 include( ABSPATH . WPINC . '/version.php' ); // $wp_version; 1397 1397 1398 1398 $start_time = time(); … … 1538 1538 // Determines if this WordPress Core version should update to $offered_ver or not 1539 1539 static function should_update_to_version( $offered_ver /* x.y.z */ ) { 1540 include ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z1540 include( ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.z 1541 1541 1542 1542 $current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
Note: See TracChangeset
for help on using the changeset viewer.