Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35257


Ignore:
Timestamp:
12/29/2015 08:41:26 PM (9 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35257 – Description

    initial v1  
    11Updating a plugin on the `plugin-install.php` screen uses an ajax process to update plugins in-line. When a plugin upgrade succeeds, the button is updated accordingly; however the click handler for the button is still in place, and clicking the button again results in some unexpected behavior - the upgrade request fires again and fails, and the complete checkmark spins around:
    22
    3 [[(http://cl.ly/052o2E2H3O44/Screen%20Recording%202015-12-29%20at%2001.30%20PM.gif)]]
     3[[Image(http://cl.ly/052o2E2H3O44/Screen%20Recording%202015-12-29%20at%2001.30%20PM.gif)]]
    44
    55To fix this, we should prevent the action for disabled buttons, patch incoming.