Changeset 999
- Timestamp:
- 01/04/08 05:29:29 (1 year ago)
- Files:
-
- trunk/bb-includes/default-filters.php (modified) (1 diff)
- trunk/bb-includes/template-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bb-includes/default-filters.php
r981 r999 13 13 add_filter('topic_start_time', 'bb_offset_time', 10, 2); 14 14 add_filter('bb_post_time', 'bb_offset_time', 10, 2); 15 add_filter('get_topic_link', 'bb_add_replies_to_topic_link', 10, 2);16 15 17 16 add_filter('pre_topic_title', 'wp_specialchars'); trunk/bb-includes/template-functions.php
r978 r999 602 602 603 603 return apply_filters( 'get_topic_link', $link, $topic->topic_id ); 604 }605 606 function bb_add_replies_to_topic_link( $link, $id ) {607 $topic = get_topic( get_topic_id( $id ) );608 if ( bb_is_user_logged_in() )609 $link = add_query_arg( 'replies', $topic->topic_posts, $link );610 return $link;611 604 } 612 605