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:
Andrew Nacin 2013-10-10 14:45:55 +00:00
parent 983f56193e
commit 627b25bf50

View File

@ -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