[wp-trac] [WordPress Trac] #27526: Introduce comment excerpt length filter

WordPress Trac noreply at wordpress.org
Mon Mar 31 09:02:15 UTC 2014


#27526: Introduce comment excerpt length filter
-------------------------+------------------------------
 Reporter:  dannydehaan  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  needs-docs   |     Focuses:
-------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 dannydehaan]:
 > Notice the space between will and … I've fixed this now by imploding the
 words with a space so you will not have this behaviour.

 We can just use `trim()` before adding the ellipsis (like we did for
 `wp_html_excerpt()` in [24214]).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27526#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list