Opened 16 years ago
Closed 16 years ago
#8512 closed defect (bug) (fixed)
get_search_form() broken
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description ¶
The new get_search_form() is broken. Most people probably don't notice because they still have the obsolete searchform.php lying around.
a) The action has to use home instead of the siteurl
b) the_search_query() echoes the query and makes it appear outside of the searchbox.
Patch attached.
Pull Requests
- Loading…
Note: See
TracTickets for help on using
tickets.
(In [10100]) get_search_form() fixes from juergen. fixes #8512