Make WordPress Core

Ticket #43792: 43792.diff

File 43792.diff, 1019 bytes (added by mattkeys, 7 years ago)
  • src/wp-includes/comment-template.php

    diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php
    index bcda28f87c..41114b7d1c 100644
    a b function get_comment_excerpt( $comment_ID = 0 ) { 
    619619         * @since 1.5.0
    620620         * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added.
    621621         *
    622          * @param string     $excerpt    The comment excerpt text.
    623          * @param int        $comment_ID The comment ID.
    624          * @param WP_Comment $comment    The comment object.
     622         * @param string     $excerpt      The comment excerpt text.
     623         * @param int        $comment_ID   The comment ID.
     624         * @param WP_Comment $comment      The comment object.
     625         * @param bool       $use_ellipsis Was the comment shortened, and an ellipsis added
    625626         */
    626         return apply_filters( 'get_comment_excerpt', $excerpt, $comment->comment_ID, $comment );
     627        return apply_filters( 'get_comment_excerpt', $excerpt, $comment->comment_ID, $comment, $use_ellipsis );
    627628}
    628629
    629630/**