Skip to:
Content

bbPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 3 years ago

#2114 closed defect (bug) (fixed)

bbp_get_topic_post_date has a wrong call of bbp_time_since

Reported by: weaintplastic Owned by:
Priority: normal Milestone: 2.3
Component: Component - Topics Version: 2.1
Severity: normal Keywords: needs-patch
Cc:

Description

the function bbp_get_topic_post_date in includes/topics/template-tags.php calls a wrong function to get the time since a topic was created.

because bbp_time_since() echo's it's result, the filter hook at the end of the function will always append any custom modifications to the result.

Solution:
use bbp_get_time_since() instead of bbp_time_since()

Change History (3)

#1 @alexvorn2
14 years ago

  • Component GeneralTopics
  • Keywords needs-patch added

#2 @johnjamesjacoby
14 years ago

  • Milestone Awaiting Review2.3

Confirmed.

#3 @johnjamesjacoby
14 years ago

  • Resolutionfixed
  • Status newclosed

(In [4587]) Use correct bbp_get_time_since() function in _post_date() template tags for topics and replies. Fixes #2114.

Note: See TracTickets for help on using tickets.