WordPress.org

Make WordPress Core

Ticket #12874: 12874.diff

File 12874.diff, 497 bytes (added by tenpura, 5 years ago)

add $comment_ID argument.

  • comment-template.php

     
    432432 * @param int $comment_ID The ID of the comment for which to print the excerpt. Optional. 
    433433 */ 
    434434function comment_excerpt( $comment_ID = 0 ) { 
    435         echo apply_filters('comment_excerpt', get_comment_excerpt() ); 
     435        echo apply_filters('comment_excerpt', get_comment_excerpt($comment_ID) ); 
    436436} 
    437437 
    438438/**