Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704.

Built from https://develop.svn.wordpress.org/trunk@25755


git-svn-id: http://core.svn.wordpress.org/trunk@25668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-10-10 14:46:11 +00:00
parent 1d14316169
commit 2a8dcbae1f

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