Opened 2 years ago
Last modified 2 years ago
#3516 new defect (bug)
The search functionality only works for single words
Reported by: | aezazshekh | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Component - Search | Keywords: | needs-patch |
Cc: |
Description
If we search the title of the topic in the forum search of https://bbpress.org/forums/forum/plugins/ page, the result is not properly displayed.
URL => https://bbpress.org/forums/forum/plugins/
Issue Video Link => https://share.cleanshot.com/Fhj9dqJbV1y4nj8mvDt7
Change History (1)
Note: See
TracTickets for help on using
tickets.
Video summarised:
This happens as bbp_sanitize_search_request() applies
sanitize_title()
and so in the example of searching forsome questions
looks for posts in the forums withsome-questions
in the title/content of the forum posts.