[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:08:15 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 | Resolution:
Keywords: |
-------------------------+------------------------------
Description changed by scribu:
Old description:
> We use an ugly regex to split search terms like these:
>
> {{{
> term1 term2 "exact match"
> }}}
>
> We could use str_getcsv() instead, for better readability.
New description:
We use an [http://core.trac.wordpress.org/browser/tags/3.3.1/wp-
includes/query.php#L2183 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#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list