Make WordPress Core

Opened 8 years ago

Closed 8 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:


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

Download all attachments as: .zip

Change History (5)

8 years ago

add $comment_ID argument.

#1 @tenpura
8 years ago

  • Milestone changed from Unassigned to 3.0

#2 @bumbu
8 years ago

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

#3 @dd32
8 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.