Use correct variable. fixes #10787.
git-svn-id: https://develop.svn.wordpress.org/trunk@25843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a028b8f2dc
commit
fda5b39db2
@ -1444,7 +1444,7 @@ class Core_Upgrader extends WP_Upgrader {
|
||||
return false;
|
||||
|
||||
// Don't claim we can update on update-core.php if we have a non-critical failure logged.
|
||||
if ( $wp_version == $failure_data['current'] && false !== strpos( $wp_version, '.1.next.minor' ) )
|
||||
if ( $wp_version == $failure_data['current'] && false !== strpos( $offered_ver, '.1.next.minor' ) )
|
||||
return false;
|
||||
|
||||
// Cannot update if we're retrying the same A to B update that caused a non-critical failure.
|
||||
|
Loading…
Reference in New Issue
Block a user