Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/19/2010 05:39:50 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2287 props nuprn1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-forums/bp-forums-templatetags.php

    r2837 r2935  
    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.