[wp-trac] [WordPress Trac] #55368: Handle ajax failure when doing actions on themes/plugins

WordPress Trac noreply at wordpress.org
Fri Mar 11 09:53:03 UTC 2022

#55368: Handle ajax failure when doing actions on themes/plugins
 Reporter:  mirkolofio   |       Owner:  (none)
     Type:  defect       |      Status:  reopened
  (bug)                  |
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Text         |     Version:  5.9.2
  Changes                |
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  javascript, administration, ui-
                         |  copy
Changes (by mirkolofio):

 * status:  closed => reopened
 * resolution:  invalid =>


 Reopening this. It's not expected at all, let me better explain.

 Example on **Plugin enable auto-updates failure**

 Current behaviour:
 - Button switched to "Deleting..." forever
 - Error message shown: "The request could not be completed"

 Expected behavior:
 - Button switched to "Deleting..."
 - Error message should be: "The request could not be completed. Please
 - The button should be switched back to "Delete"

 Another example on **Theme delete failure**

 Current behaviour:
 - Error message shown "Deletion failed: undefined"

 Expected behaviour:
 - At least we don't want to show "undefined" for sure.

 And so on...

Ticket URL: <https://core.trac.wordpress.org/ticket/55368#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list