Skip to:
Content

bbPress.org

Ticket #3555: 3555.patch

File 3555.patch, 792 bytes (added by upadalavipul, 2 years ago)
  • src/includes/extend/buddypress/groups.php

     
    14581458
    14591459                        // Reply
    14601460                        case bbp_get_reply_post_type() :
    1461                                 $topic_id = bbp_get_reply_topic_id( $post_id );
    14621461                                $forum_id = bbp_get_reply_forum_id( $post_id );
    14631462                                $url_end  = trailingslashit( $this->reply_slug ) . get_post_field( 'post_name', $post_id );
    14641463                                break;
     
    14651464
    14661465                        // Topic
    14671466                        case bbp_get_topic_post_type() :
    1468                                 $topic_id = $post_id;
    14691467                                $forum_id = bbp_get_topic_forum_id( $post_id );
    14701468                                $url_end  = trailingslashit( $this->topic_slug ) . get_post_field( 'post_name', $post_id );
    14711469                                break;