Opened 3 years ago
#55089 assigned enhancement
ajax `wp_ajax_update_plugin` show download failed when contain another update (eg: translations) with same process fail.
Reported by: | arrayiterator | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.9 |
Component: | Plugins | Keywords: | needs-testing reporter-feedback |
Focuses: | javascript, administration | Cc: |
Description
I found that wp_ajax_update_plugin
contain invalid response when trying to update plugin via ajax request.
This happend when $upgrader->bulk_upgrade( array( $plugin ) );
called, and any other update progress run on same time.
Eg: there are translations update exists and when contain errors on translations update, the plugin update tell that the plugin fail to download, but the plugins successfully updated.
Attachments (3)
Change History (3)
Note: See
TracTickets for help on using
tickets.
src/wp-admin/includes/ajax-actions.php