Changeset 2935 for branches/1.2/bp-forums/bp-forums-templatetags.php
- Timestamp:
- 04/19/2010 05:39:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-forums/bp-forums-templatetags.php
r2837 r2935 254 254 255 255 $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 ) ); 257 257 } 258 258 … … 464 464 global $forum_template; 465 465 466 return $forum_template->topic->topic_posts;466 return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts ); 467 467 } 468 468 … … 938 938 939 939 $post = bp_forums_get_post( $bp->action_variables[4] ); 940 return a ttribute_escape( $post->post_text);940 return apply_filters( 'bp_get_the_topic_post_edit_text', attribute_escape( $post->post_text ) ); 941 941 } 942 942
Note: See TracChangeset
for help on using the changeset viewer.