WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#12874 closed defect (bug) (fixed)

$comment_ID argument is missing in comment_excerpt()

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

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 5 years ago.
add $comment_ID argument.
bmb_0010_t12874.patch (533 bytes) - added by bumbu 5 years ago.

Download all attachments as: .zip

Change History (5)

@tenpura5 years ago

add $comment_ID argument.

comment:1 @tenpura5 years ago

  • Milestone changed from Unassigned to 3.0

@bumbu5 years ago

comment:2 @bumbu5 years ago

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

comment:3 @dd325 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.