Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#47694 new enhancement

Adding a filter for $searchand variable

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


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
5 years ago

  • Component changed from General to Query
  • Type changed from feature request to enhancement
Note: See TracTickets for help on using tickets.