Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704.
git-svn-id: https://develop.svn.wordpress.org/trunk@25755 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
983f56193e
commit
627b25bf50
@ -1740,6 +1740,7 @@ class WP_Automatic_Upgrader {
|
||||
}
|
||||
$extra_update_stats['fs_method'] = $GLOBALS['wp_filesystem']->method;
|
||||
$extra_update_stats['time_taken'] = ( time() - $start_time );
|
||||
$extra_update_stats['attempted'] = $core_update->version;
|
||||
}
|
||||
|
||||
// Cleanup, and check for any pending translations
|
||||
|
Loading…
Reference in New Issue
Block a user