Opened 14 months ago
Last modified 14 months ago
#20352 new enhancement
Use str_getcsv() to parse search terms in WP_Query — at Initial Version
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | kpayne@… |
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.
Note: See
TracTickets for help on using
tickets.
