#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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed.