[wp-trac] [WordPress Trac] #11330: Empty search takes you to hompage instead of empty search page

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 14 15:43:57 UTC 2011


#11330: Empty search takes you to hompage instead of empty search page
--------------------------+-----------------------------
 Reporter:  jacobfogg     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Query         |     Version:  2.8.5
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------
Changes (by scribu):

 * version:  3.3 => 2.8.5


Comment:

 Please don't "bump" the version.

 Replying to [comment:7 strop]:
 > What's the logic in not counting an empty search as search?

 The logic was that WP_Query can't distinguish between when the search
 parameter is empty vs. when it's not set at all.

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


More information about the wp-trac mailing list