Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#47694 new enhancement

Adding a filter for $searchand variable

Reported by: bebro Owned by:
Priority: normal Milestone: Awaiting Review
Component: Query Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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.

Change History (1)

#1 @SergeyBiryukov
7 years ago

  • Component GeneralQuery
  • Type feature requestenhancement
Note: See TracTickets for help on using tickets.