[wp-trac] [WordPress Trac] #38099: Ability to disable hyphen-based exclusion in searches

WordPress Trac noreply at wordpress.org
Fri Oct 14 13:10:39 UTC 2016


#38099: Ability to disable hyphen-based exclusion in searches
--------------------------------------+---------------------------
 Reporter:  chriseverson              |       Owner:  chriseverson
     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):

 Apologies - one little update. Something didn't feel right. The filter was
 named _negation, but the variable and comments were all talking about
 _exclusion. I think the correct naming should be {{{
 wp_query_use_hyphen_for_exclusion }}} . The word 'negation' is used in a
 boolean context, but that is not the case here - we are actually excluding
 stuff.

 38099.4.patch reflects this renaming.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38099#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list