Changeset 5030 for trunk/bp-forums/bp-forums-template.php
- Timestamp:
- 08/24/2011 07:18:57 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r4961 r5030 724 724 725 725 $defaults = array( 726 'length' => 45726 'length' => 225 727 727 ); 728 728 … … 732 732 $post = bp_forums_get_post( $forum_template->topic->topic_last_post_id ); 733 733 $post = bp_create_excerpt( $post->post_text, $length ); 734 return apply_filters( 'bp_get_the_topic_latest_post_excerpt', $post ); 734 735 return apply_filters( 'bp_get_the_topic_latest_post_excerpt', $post, $length ); 735 736 } 736 737 737 738 function bp_the_topic_time_since_last_post() { 738 global $forum_template;739 740 739 echo bp_get_the_topic_time_since_last_post(); 741 740 }
Note: See TracChangeset
for help on using the changeset viewer.