[wp-trac] [WordPress Trac] #17016: Empty search not allowed - makes it hard to build an enhanced search page

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 2 01:00:17 UTC 2011


#17016: Empty search not allowed - makes it hard to build an enhanced search page
-------------------------+----------------------
 Reporter:  jobjorn      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Template     |     Version:  3.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 This would introduce a glaring inconsistency: all other empty query vars
 are ignored, while 's' gets special treatment. That's not a good idea,
 from an API point of view.

 Also, by your definition of search, when you're going to /category/foo/
 you're also doing a search, which is plainly wrong, in the WP universe.

 For these reasons, I'm closing this ticket as wontfix.

 Feel free to leave follow-up comments (without opening the ticket).

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


More information about the wp-trac mailing list