[wp-trac] [WordPress Trac] #40735: Events widget form should close after successful search

WordPress Trac noreply at wordpress.org
Thu May 18 17:15:41 UTC 2017


#40735: Events widget form should close after successful search
---------------------------------------+--------------------------------
 Reporter:  iandunn                    |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  4.8
Component:  Administration             |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------

Comment (by coreymckrill):

 [attachment:40735.diff] looks good, and works for me. I added
 [attachment:40735.2.diff] to address these two items:

 > * maybe the two var at the top should be unified in just one
 > * minor optimization: instead of getting multiple times some elements,
 maybe I'd try to get them just once, see for example how many times
 .community-events-toggle-location is targeted with jQuery

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


More information about the wp-trac mailing list