[wp-trac] [WordPress Trac] #43792: get_comment_excerpt filter should tell if the comment was shorted or not

WordPress Trac noreply at wordpress.org
Tue Apr 17 23:16:48 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 joyously):

 I understand what you're saying, but adding a parameter means that all the
 code using the filter will get an error since it will have the wrong
 number of parameters. So it's not a trivial thing to do, and you should
 work with the parameters that you already have if you can.

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


More information about the wp-trac mailing list