[wp-trac] [WordPress Trac] #34886: Search Form should not submit empty strings

WordPress Trac noreply at wordpress.org
Fri Dec 11 19:56:06 UTC 2015


#34886: Search Form should not submit empty strings
-------------------------+------------------------------
 Reporter:  gibrown      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch
 * version:  trunk =>
 * component:  General => Themes


Comment:

 A separate JS file just for this is definitely overkill. It's handling an
 edge case.

 Switching to the `submit` event on the search input is a good idea.

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


More information about the wp-trac mailing list