Opened 2 years ago
Last modified 23 months ago
#17636 new defect (bug)
Search subtitles are handled inconsistently across admin
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Administration | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Try the following strings in the Comments admin screen and any other:
\'"\fs"\\\"
imareallylongstringlookatmegoandgoandgoandgoandgoandgoandgoandgoandgoandgoandgoandgoandgoandgo
The Comments screen uses strip_slashes() and wp_html_excerpt() to limit search strings to 50 characters, while other screens do not.
Attachments (1)
Change History (2)
jakub.tyrcha — 23 months ago
comment:1
jakub.tyrcha — 23 months ago
- Keywords has-patch added
Version 0, edited 23 months ago
by jakub.tyrcha
(next)
Note: See
TracTickets for help on using
tickets.

All we need is wp_strip_all_tags (well I'm not sure if we need even this one, but we the excerpt is certainly not needed). Besides, only the display is stripped - not the search string itself (tested).