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
Built from https://develop.svn.wordpress.org/trunk@26017 git-svn-id: http://core.svn.wordpress.org/trunk@25948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d011a0556
commit
c9683257db
|
@ -1313,7 +1313,9 @@ class Core_Upgrader extends WP_Upgrader {
|
|||
}
|
||||
|
||||
function upgrade( $current, $args = array() ) {
|
||||
global $wp_filesystem, $wp_version;
|
||||
global $wp_filesystem;
|
||||
|
||||
include ABSPATH . WPINC . '/version.php'; // $wp_version;
|
||||
|
||||
$start_time = time();
|
||||
|
||||
|
|
Loading…
Reference in New Issue