Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/06/2010 04:24:57 PM (14 years ago)
Author:
apeatling
Message:

Merging 1.2 branch with trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-templatetags.php

    r2950 r3232  
    290290        global $forum_template;
    291291
    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 ) )
    295293            return __( 'Deleted User', 'buddypress' );
    296294
     
    464462        global $forum_template;
    465463
    466         return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts );
     464        return $forum_template->topic->topic_posts;
    467465    }
    468466
Note: See TracChangeset for help on using the changeset viewer.