[wp-trac] [WordPress Trac] #58264: Adding spinner to submit_button with wrap

WordPress Trac noreply at wordpress.org
Sat May 6 04:36:56 UTC 2023


#58264: Adding spinner to submit_button with wrap
------------------------------------------+-----------------------------
 Reporter:  msolution                     |      Owner:  (none)
     Type:  enhancement                   |     Status:  new
 Priority:  normal                        |  Milestone:  Awaiting Review
Component:  General                       |    Version:  6.2
 Severity:  normal                        |   Keywords:
  Focuses:  ui, administration, template  |
------------------------------------------+-----------------------------
 As a plugin developer, I need to use this function on almost all panels I
 make, but every time I need an ajax functionality, or somewhere where i
 need to prevent double click and disable the button, and perhaps show a
 spinner, the wrap=true functionality does not work for me.

 I suggest we extend this function to have a spinner, in case of wrap=true.

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


More information about the wp-trac mailing list