[wp-trac] [WordPress Trac] #20352: Use str_getcsv() to parse search terms in WP_Query

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 3 23:05:25 UTC 2012


#20352: Use str_getcsv() to parse search terms in WP_Query
-------------------------+-----------------------------
 Reporter:  scribu       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 We use an ugly regex to split search terms like these:

 {{{
 term1 term2 "exact match"
 }}}

 We could use str_getcsv() instead, for better readability.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20352>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list