Skip to:

Opened 16 months ago

Last modified 16 months ago

#3516 new defect (bug)

The search functionality only works for single words

Reported by: aezazshekh's profile aezazshekh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Component - Search Keywords: needs-patch


If we search the title of the topic in the forum search of page, the result is not properly displayed.

URL =>
Issue Video Link =>

Change History (1)

#1 @dd32
16 months ago

  • Component changed from Component - Forums to Component - Search
  • Summary changed from The search functionality of the forum search is not working properly. to The search functionality only works for single words

Video summarised:

  • Searching multiple words doesn't work.

This happens as bbp_sanitize_search_request() applies sanitize_title() and so in the example of searching for some questions looks for posts in the forums with some-questions in the title/content of the forum posts.

Note: See TracTickets for help on using tickets.