Opened 9 years ago
Closed 8 years ago
#2978 closed defect (bug) (fixed)
Include users closed topic counts in `bbp_get_user_topic_count_raw()`
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Component - Users | Keywords: | has-patch commit |
Cc: |
Description
Extracted from #2233
Currently bbPress bbp_get_user_topic_count_raw()
functions uses WordPress' get_posts_by_author_sql()
function to get users raw topic count. This count currently doesn't include bbPress custom post statuses due to upstream issue #WP12706
By adding a new function bbp_get_user_closed_topic_count()
we can get around one of these status issues and add that count to the bbp_get_user_topic_count_raw()
count.
This would also fix the main issue in #meta1870
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Will commit this in the next couple of days