Make WordPress Core

Opened 10 years ago

Last modified 2 years ago

#17636 assigned defect (bug)

Search subtitles are handled inconsistently across admin

Reported by: kawauso Owned by: chriscct7
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: Administration Keywords: has-patch
Focuses: Cc:


Try the following strings in the Comments admin screen and any other:



The Comments screen uses strip_slashes() and wp_html_excerpt() to limit search strings to 50 characters, while other screens do not.

Attachments (2)

17636.patch (670 bytes) - added by jakub.tyrcha 10 years ago.
17636.2.diff (536 bytes) - added by lukecavanagh 5 years ago.
Patch Refreshed

Download all attachments as: .zip

Change History (6)

10 years ago

#1 @jakub.tyrcha
10 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 10 years ago by jakub.tyrcha (previous) (diff)

#2 @chriscct7
7 years ago

  • Keywords needs-refresh added; has-patch removed

#3 @chriscct7
5 years ago

  • Owner set to chriscct7
  • Status changed from new to assigned

5 years ago

Patch Refreshed

#4 @lukecavanagh
5 years ago

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