[wp-trac] [WordPress Trac] #8512: get_search_form() broken

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 6 20:48:56 GMT 2008


#8512: get_search_form() broken
----------------------+-----------------------------------------------------
 Reporter:  juergen   |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.8      
Component:  Template  |     Version:  2.7      
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 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.

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


More information about the wp-trac mailing list