Skip to:
Content

bbPress.org

Ticket #1192: 1192.diff

File 1192.diff, 467 bytes (added by GIGALinux, 11 years ago)
  • bb-post.php

     
    4343$tags  = trim( $_POST['tags']  );
    4444bb_add_topic_tags( $topic_id, $tags );
    4545
     46$topic = get_topic( $topic_id, false );
    4647$link = get_post_link($post_id);
    4748
    48 $topic = get_topic( $topic_id, false );
    49 
    5049if ( $topic->topic_posts )
    5150        $link = add_query_arg( 'replies', $topic->topic_posts, $link );
    5251