Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/21/2010 11:34:12 AM (16 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

    r2842 r2946  
    254254
    255255        $post = bb_get_first_post( (int)$forum_template->topic->topic_id, false );
    256         return apply_filters( 'bp_get_the_topic_text', $post->post_text );
     256        return apply_filters( 'bp_get_the_topic_text', attribute_escape( $post->post_text ) );
    257257    }
    258258
     
    464464        global $forum_template;
    465465
    466         return $forum_template->topic->topic_posts;
     466        return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts );
    467467    }
    468468
     
    938938
    939939        $post = bp_forums_get_post( $bp->action_variables[4] );
    940         return attribute_escape( $post->post_text );
     940        return apply_filters( 'bp_get_the_topic_post_edit_text', attribute_escape( $post->post_text ) );
    941941    }
    942942
Note: See TracChangeset for help on using the changeset viewer.