[wp-trac] [WordPress Trac] #38099: Ability to disable hyphen-based exclusion in searches
WordPress Trac
noreply at wordpress.org
Wed Oct 19 19:04:47 UTC 2016
#38099: Ability to disable hyphen-based exclusion in searches
--------------------------------------+---------------------------
Reporter: chriseverson | Owner: boonebgorges
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.7
Component: Query | Version: 4.4
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch | Focuses:
--------------------------------------+---------------------------
Changes (by dlh):
* status: closed => reopened
* resolution: fixed =>
Comment:
I apologize for reopening this ticket after the earlier work on it and so
late in this cycle's enhancement window.
It seems to me like core could allow a developer working with content
containing semantically important hyphens to still support search
exclusions by letting them change the "exclusion prefix" to something
other than a hyphen.
Would folks be amenable to a patch that allowed the prefix to be filtered,
rather than a filter that toggles the whole feature? If so, I'm happy to
help try to write it. The filter could also support "return false to
disable" for developers who need it.
Or, let me know if I'm misunderstanding something.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38099#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list