Changeset 5047 for trunk/bp-forums/bp-forums-template.php
- Timestamp:
- 08/29/2011 10:43:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r5030 r5047 142 142 } else if ( !empty( $bp->groups->current_group ) ) { 143 143 $topic_count = (int)groups_total_public_forum_topic_count( $type ); 144 } else if ( bp_is_user_forums_started() ) { 145 $topic_count = bp_forums_total_topic_count_for_user( bp_displayed_user_id() ); 146 } else if ( bp_is_user_forums_replied_to() ) { 147 $topic_count = bp_forums_total_replied_count_for_user( bp_displayed_user_id() ); 144 148 } else { 145 149 // For forum directories, get a true count
Note: See TracChangeset
for help on using the changeset viewer.