[wp-trac] [WordPress Trac] #19321: get_search_form() function calls an action and a filter with the same hook.

WordPress Trac noreply at wordpress.org
Mon Mar 25 21:27:16 UTC 2013


#19321: get_search_form() function calls an action and a filter with the same hook.
------------------------------------------+------------------
 Reporter:  marquex                       |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  3.6
Component:  Template                      |     Version:  2.7
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch needs-codex commit  |
------------------------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch needs-codex => has-patch needs-codex commit


Comment:

 Replying to [comment:8 SergeyBiryukov]:
 > It also kills the search form if it doesn't return anything.

 [attachment:19321.3.patch] fixes that and keeps back compat for both
 current use cases.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19321#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list