[wp-trac] [WordPress Trac] #40966: Double clicking the Update plugins-button gives... interesting experience!

WordPress Trac noreply at wordpress.org
Fri Jul 14 11:40:57 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 good-first-bug has-    |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by xkon):

 * keywords:  shiny-updates needs-patch good-first-bug => shiny-updates
     good-first-bug has-patch


Comment:

 For some weird reason ( just in case it was working for you ) @MarcGuay s
 code was not disabling the button at all on my installation.

 Either way I placed the code a little differently on ( '''40966.3.diff'''
 ). It will disable the Apply button only in case of 'update-selected' and
 re-enable it either way whenever there's a notice. I think it's safer this
 way and at least it works for my installation.

 Best regards,
 Konstantinos

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


More information about the wp-trac mailing list