[wp-trac] [WordPress Trac] #55089: ajax `wp_ajax_update_plugin` show download failed when contain another update (eg: translations) with same process fail.

WordPress Trac noreply at wordpress.org
Sat Feb 5 15:02:59 UTC 2022


#55089: ajax `wp_ajax_update_plugin` show download failed when contain another
update (eg: translations) with same process fail.
-------------------------------------+-------------------------------------
 Reporter:  arrayiterator            |      Owner:  (none)
     Type:  enhancement              |     Status:  assigned
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Plugins                  |    Version:  5.9
 Severity:  minor                    |   Keywords:  needs-testing reporter-
  Focuses:  javascript,              |  feedback
  administration                     |
-------------------------------------+-------------------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55089>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list