[wp-trac] [WordPress Trac] #36195: Search for something with ' - ' will always return nothing
WordPress Trac
noreply at wordpress.org
Fri Mar 25 18:40:29 UTC 2016
#36195: Search for something with ' - ' will always return nothing
--------------------------+---------------------------
Reporter: RomSocial | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4.3
Component: Query | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: fixed-major | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"37082"]:
{{{
#!CommitTicketReference repository="" revision="37082"
Query: Ignore search terms consisting of a single dash.
Due to the "exclude" support added in WP 4.4, single dashes were being
converted to "NOT LIKE '%%'" clauses, causing all searches to fail.
Ports [36989] to the 4.4 branch.
Props RomSocial, swissspidy.
Fixes #36195.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36195#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list