[wp-trac] [WordPress Trac] #47694: Adding a filter for $searchand variable

WordPress Trac noreply at wordpress.org
Sat Jul 13 11:38:03 UTC 2019


#47694: Adding a filter for $searchand variable
-----------------------------+-----------------------------
 Reporter:  bebro            |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Hi,
 I wish to know if we can add a filter to the $searchand variable in
 parse_search method to give the developer the option to modify the logic
 to OR instead of AND. I believe it will help a lot as it happens in some
 websites where people search for many words will not be accurate. In these
 cases OR may be better.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47694>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list