Changeset 3836 for branches/plugin/bbp-includes/bbp-forum-template.php
- Timestamp:
- 04/14/2012 09:31:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-forum-template.php
r3831 r3836 1194 1194 $forum_count = get_post_meta( $forum_id, '_bbp_forum_subforum_count', true ); 1195 1195 1196 return (int)apply_filters( 'bbp_get_forum_subforum_count', (int) $forum_count, $forum_id );1196 return apply_filters( 'bbp_get_forum_subforum_count', (int) $forum_count, $forum_id ); 1197 1197 } 1198 1198 … … 1227 1227 $topics = get_post_meta( $forum_id, empty( $total_count ) ? '_bbp_topic_count' : '_bbp_total_topic_count', true ); 1228 1228 1229 return (int)apply_filters( 'bbp_get_forum_topic_count', (int) $topics, $forum_id );1229 return apply_filters( 'bbp_get_forum_topic_count', (int) $topics, $forum_id ); 1230 1230 } 1231 1231 … … 1260 1260 $replies = get_post_meta( $forum_id, empty( $total_count ) ? '_bbp_reply_count' : '_bbp_total_reply_count', true ); 1261 1261 1262 return (int)apply_filters( 'bbp_get_forum_reply_count', (int) $replies, $forum_id );1262 return apply_filters( 'bbp_get_forum_reply_count', (int) $replies, $forum_id ); 1263 1263 } 1264 1264 … … 1294 1294 $replies = get_post_meta( $forum_id, empty( $total_count ) ? '_bbp_reply_count' : '_bbp_total_reply_count', true ); 1295 1295 1296 return (int)apply_filters( 'bbp_get_forum_post_count', (int) $replies + (int) $topics, $forum_id );1296 return apply_filters( 'bbp_get_forum_post_count', (int) $replies + (int) $topics, $forum_id ); 1297 1297 } 1298 1298
Note: See TracChangeset
for help on using the changeset viewer.