Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2300 closed defect (fixed)

Reply excerpt function always fails

Reported by: DJPaul Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: trunk
Component: Component - Replies Keywords: has-patch
Cc:

Description

bbp_get_reply_excerpt() always returns post_content because there is a mistake in the order of parameters for the get_post_field call. Patch attached.

Attachments (1)

bbpress.patch (585 bytes) - added by DJPaul 8 years ago.

Download all attachments as: .zip

Change History (3)

@DJPaul
8 years ago

#1 @johnjamesjacoby
8 years ago

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

(In [4844]) Fix bug in bbp_get_reply_excerpt() that was causing it to always fail. Reverse the parameters of get_post_field() to be in the correct order. Props paulgibbs. Fixes #2300.

#2 @johnjamesjacoby
8 years ago

(In [4845]) Fix bug in bbp_get_topic_excerpt() that was causing it to always fail. Reverse the parameters of get_post_field() to be in the correct order. See #2300.

Note: See TracTickets for help on using tickets.