Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8512 closed defect (bug) (fixed)

get_search_form() broken

Reported by: juergen's profile juergen 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.

Attachments (1)

get_search_form.patch (840 bytes) - added by juergen 16 years ago.

Download all attachments as: .zip

Change History (4)

#1 @juergen
16 years ago

  • Keywords has-patch added

#2 @ryanLead Tester
16 years ago

  • Milestone changed from 2.8 to 2.7

#3 @ryanLead Tester
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10100]) get_search_form() fixes from juergen. fixes #8512

Note: See TracTickets for help on using tickets.