[wp-trac] [WordPress Trac] #38099: Ability to disable hyphen-based exclusion in searches
WordPress Trac
noreply at wordpress.org
Fri Oct 14 18:51:07 UTC 2016
#38099: Ability to disable hyphen-based exclusion in searches
--------------------------------------+---------------------------
Reporter: chriseverson | Owner: boonebgorges
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.7
Component: Query | Version: 4.4
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch | Focuses:
--------------------------------------+---------------------------
Comment (by choongsavvii):
One more adjustment, as suggested by @jorbin in Slack:
{{{ `__return_true` is for calbacks with things like `add_filter`. You
don't pass a callback to `apply_filters`, you pass the value you want to
filter. In this case we want to filter the bool }}}
Changed in 38099.5.patch - thanks @jorbin !
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38099#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list