[wp-trac] [WordPress Trac] #18485: Search with blank criteria returns results in wrong template file.

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 19 12:54:46 UTC 2011


#18485: Search with blank criteria returns results in wrong template file.
--------------------------+------------------------------
 Reporter:  baderatw      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Template      |     Version:  3.2.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dd32):

 Just to confirm, You're refering to something such as:
 `http://example.com/?s=` ?

 WordPress treats empty query vars as if they don't exist, therefor, in
 that situation it'd most likely load the blog index.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18485#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list