WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 8 months ago

#17636 new defect (bug)

Search subtitles are handled inconsistently across admin

Reported by: kawauso Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.2
Component: Administration Keywords: needs-refresh
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 (1)

17636.patch (670 bytes) - added by jakub.tyrcha 4 years ago.

Download all attachments as: .zip

Change History (3)

@jakub.tyrcha4 years ago

comment:1 @jakub.tyrcha4 years ago

  • 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 4 years ago by jakub.tyrcha (previous) (diff)

comment:2 @chriscct78 months ago

  • Keywords needs-refresh added; has-patch removed
Note: See TracTickets for help on using tickets.