Opened 14 years ago
Closed 14 years ago
#17063 closed defect (bug) (duplicate)
Pass echo parameter to searchform.php template
Reported by: | ptahdunbar | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Related/Duplicate: #16541