[wp-trac] [WordPress Trac] #43792: get_comment_excerpt filter should tell if the comment was shorted or not
WordPress Trac
noreply at wordpress.org
Sat Aug 11 12:59:14 UTC 2018
#43792: get_comment_excerpt filter should tell if the comment was shorted or not
-------------------------------------------------+-------------------------
Reporter: mattkeys | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by birgire):
Related #44541 where it's suggested to use {{{wp_trim_words()}}} within
{{{get_comment_excerpt()}}}.
I wonder if this is the way forward, if the same should apply for post
excerpts as well, through the {{{wp_trim_words}}} filter:
https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-
includes/formatting.php#L3334
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43792#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list