[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:02:50 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:               |
-------------------------+----------------------

Comment (by scribu):

 A workaround for your problem would be to modify the displayed posts
 before the actual template is loaded.

 This can be done using one of 'parse_query' or 'pre_get_posts' actions.

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


More information about the wp-trac mailing list