Opened 10 years ago
Last modified 21 months ago
#17636 assigned defect (bug)
Search subtitles are handled inconsistently across admin
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2 |
Component: | Administration | Keywords: | has-patch |
Focuses: | 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 (2)
Change History (6)
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 the excerpt is certainly not needed). Besides, only the display is stripped - not the search string itself (tested).