Opened 3 years ago

Closed 3 years ago

#12874 closed defect (bug) (fixed)

$comment_ID argument is missing in comment_excerpt()

Reported by: tenpura Owned by:
Priority: normal Milestone: 3.0
Component: Comments Version: 3.0
Severity: normal Keywords: has-patch
Cc: bmbalex@…

Description

echo apply_filters('comment_excerpt', get_comment_excerpt() );

should be

echo apply_filters('comment_excerpt', get_comment_excerpt($comment_ID) );

Attachments (2)

12874.diff (497 bytes) - added by tenpura 3 years ago.
add $comment_ID argument.
bmb_0010_t12874.patch (533 bytes) - added by bumbu 3 years ago.

Download all attachments as: .zip

Change History (5)

tenpura3 years ago

add $comment_ID argument.

  • Milestone changed from Unassigned to 3.0

bumbu3 years ago

  • Cc bmbalex@… added
  • Keywords has-patch added

comment:3   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14128]) Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874

Note: See TracTickets for help on using tickets.