[wp-trac] [WordPress Trac] #41803: themes.php search form doesn't work when submitted

WordPress Trac noreply at wordpress.org
Tue Sep 5 15:46:30 UTC 2017


#41803: themes.php search form doesn't work when submitted
----------------------------+-----------------------------
 Reporter:  boonebgorges    |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Themes          |    Version:  4.8
 Severity:  normal          |   Keywords:  2nd-opinion
  Focuses:  administration  |
----------------------------+-----------------------------
 wp-admin/themes.php has a live search powered by Backbone. But if you
 enter a term and hit 'Enter', forcing a proper form submit, you're led
 back to themes.php *without* the `search` URL param being filled in.

 Could we do one of the following?
 1. Prevent form submission here, either by preventDefault() on submit, or
 by rejecting the Enter key
 2. Add `name="search"` to the live search input `attributes`, so that form
 submission works normally

 Previously: #34881 - cc @afercia

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


More information about the wp-trac mailing list