#3516 closed regression (fixed)
The search functionality only works for single words
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6.14 | Priority: | normal |
| Severity: | normal | Version: | 2.6.0 |
| Component: | Component - Search | Keywords: | commit |
| 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 (4)
#1
@
3 years 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
#2
@
10 months ago
- Keywords commit added; needs-patch removed
- Milestone changed from Awaiting Review to 2.6.14
- Type changed from defect (bug) to regression
- Version set to 2.6.0
Confirmed.
That sanitize_title() call should be sanitize_text_field() instead.
Thanks everyone!
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 questionslooks for posts in the forums withsome-questionsin the title/content of the forum posts.