Changeset 3232 for trunk/bp-forums/bp-forums-templatetags.php
- Timestamp:
- 09/06/2010 04:24:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-templatetags.php
r2950 r3232 290 290 global $forum_template; 291 291 292 $poster_id = ( empty( $forum_template->topic->poster_id ) ) ? $forum_template->topic->topic_poster : $forum_template->topic->poster_id; 293 294 if ( !$name = bp_core_get_userlink( $poster_id ) ) 292 if ( !$name = bp_core_get_userlink( $forum_template->topic->poster_id ) ) 295 293 return __( 'Deleted User', 'buddypress' ); 296 294 … … 464 462 global $forum_template; 465 463 466 return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts );464 return $forum_template->topic->topic_posts; 467 465 } 468 466
Note: See TracChangeset
for help on using the changeset viewer.