[wp-trac] [WordPress Trac] #17063: Pass echo parameter to searchform.php template

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 6 16:00:17 UTC 2011


#17063: Pass echo parameter to searchform.php template
--------------------------+-----------------------------
 Reporter:  ptahdunbar    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 `get_search_form()` checks for a searchform.php template to override the
 search form, however it doesn't pass on the $echo parameter. The
 searchform.php template won't know whether to echo or return the form
 causing unexpected layout issues.

 Patch makes the $echo parameter a global so the template can accomodate
 accordingly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17063>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list