[wp-trac] [WordPress Trac] #40966: Double clicking the Update plugins-button gives... interesting experience!
WordPress Trac
noreply at wordpress.org
Mon Jul 3 19:59:22 UTC 2017
#40966: Double clicking the Update plugins-button gives... interesting experience!
-------------------------------------------------+-------------------------
Reporter: bitnissen | Owner: swissspidy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
Component: Upgrade/Install | Release
Severity: normal | Version: 4.6
Keywords: shiny-updates needs-patch good- | Resolution:
first-bug | Focuses:
-------------------------------------------------+-------------------------
Comment (by MarcGuay):
Because the Apply button is a submit input and not an anchor like in the
other case, the solution will be a bit different. It seems that it will
need the disabled property added somewhere in the click event in `wp-
admin/js/updates.js` starting at line 1999, and then removed once the
queue is finished working, but it's not obvious to me at the moment, it's
my first time looking at this code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40966#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list