Opened 2 years ago

Last modified 23 months ago

#17636 new defect (bug)

Search subtitles are handled inconsistently across admin

Reported by: kawauso 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)

17636.patch (670 bytes) - added by jakub.tyrcha 23 months ago.

Download all attachments as: .zip

Change History (2)

  • Keywords has-patch added

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).

Last edited 23 months ago by jakub.tyrcha (previous) (diff)
Note: See TracTickets for help on using tickets.