[wp-trac] [WordPress Trac] #13961: search query_vars bug when using search base

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 15:59:40 UTC 2011


#13961: search query_vars bug when using search base
-----------------------------------+-----------------------------
 Reporter:  shidouhikari           |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Query                  |     Version:  3.0
 Severity:  normal                 |  Resolution:
 Keywords:  3.2-early needs-patch  |
-----------------------------------+-----------------------------
Changes (by dd32):

 * keywords:  reporter-feedback => 3.2-early needs-patch
 * component:  General => Query
 * milestone:  Awaiting Review => Future Release


Comment:

 The issue here is that `?s=test%20search` results in `get_search_query()`
 returning 'test search', whilst, `/search/test+search/` results in
 'test+search' (as it should, as + is not the space character in this
 case), `/search/test%20search/` results in 'test%20search' which IS wrong.

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


More information about the wp-trac mailing list