get_search_form() ignores $echo argument if searchform.php exists
|Reported by:||kawauso||Owned by:||SergeyBiryukov|
|Cc:||shawnkhall, chip@…, Chouby, HumanNic, mark@…|
If a theme has searchform.php present, get_search_form() uses require() regardless of the $echo value.
As per discussion with nacin in IRC, the only workaround for this would be use output buffering (which would also allow for searchform.php to be passed through the 'get_search_form' filter).
Change History (23)
- Keywords dev-feedback removed
- Milestone changed from Awaiting Review to 3.6