WordPress.org

Make WordPress Core

Changeset 26017


Ignore:
Timestamp:
11/05/2013 06:22:23 AM (6 years ago)
Author:
dd32
Message:

Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r26016 r26017  
    13141314
    13151315    function upgrade( $current, $args = array() ) {
    1316         global $wp_filesystem, $wp_version;
     1316        global $wp_filesystem;
     1317
     1318        include ABSPATH . WPINC . '/version.php'; // $wp_version;
    13171319
    13181320        $start_time = time();
Note: See TracChangeset for help on using the changeset viewer.