Opened 10 years ago
Closed 8 years ago
#6120 closed enhancement (fixed)
Utilize the _n() function inside bp_get_the_topic_total_post_count
Reported by: | tw2113 | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Forums | Keywords: | needs-patch good-first-bug |
Cc: |
Description
Right now we have an if else statement checking on topic post count and conditionally passing in "%d post" or "%d posts" based on the count.
We would be able to use _n() to calculate the string to display and only use apply_filters() once, instead of duplicated like it is now.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Nice catch.