[wp-trac] [WordPress Trac] #16541: get_search_form() ignores $echo argument if searchform.php exists

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 12 12:34:10 UTC 2011


#16541: get_search_form() ignores $echo argument if searchform.php exists
--------------------------+------------------------------
 Reporter:  kawauso       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Template      |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by garyc40):

 Does the content of the search form template (if it exists) need to pass
 through {{{get_search_form}}} filter? Or only the default {{{$form}}}?

 My patch passes the content of the search form template through the filter
 instead of returning prematurely.

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


More information about the wp-trac mailing list