From 2a8dcbae1fef23f9be59c168df4fde1eb7ecf17d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 10 Oct 2013 14:46:11 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-upgrader.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 26020f1843..368338185a 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -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