Opened 7 years ago
Last modified 7 years ago
#44631 new defect (bug)
Limit the displayed search phrase for the posts list table
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-screenshots has-patch |
Focuses: | ui, administration | Cc: |
Description
When searching for long text in the comments list table, the displayed search phrase is limited by 50 characters by using wp_html_excerpt()
.
On the other hand when searching for long text in the posts list table, the displayed search phrase is unlimited.
It would be nice to have this consistent between those two tables.
Later (another ticket) we could also consider plugins, users, media, sites, ... list tables that also display unlimited search phrase.
Attachments (3)
Change History (4)
Note: See
TracTickets for help on using
tickets.
44631.diff limits the displayed search phrase, above the posts list table, to 50 characters by using
wp_html_excerpt()
. Similar to the comments search phrase limitation.