Ticket #3555: 3555.patch
File 3555.patch, 792 bytes (added by , 2 years ago) |
---|
-
src/includes/extend/buddypress/groups.php
1458 1458 1459 1459 // Reply 1460 1460 case bbp_get_reply_post_type() : 1461 $topic_id = bbp_get_reply_topic_id( $post_id );1462 1461 $forum_id = bbp_get_reply_forum_id( $post_id ); 1463 1462 $url_end = trailingslashit( $this->reply_slug ) . get_post_field( 'post_name', $post_id ); 1464 1463 break; … … 1465 1464 1466 1465 // Topic 1467 1466 case bbp_get_topic_post_type() : 1468 $topic_id = $post_id;1469 1467 $forum_id = bbp_get_topic_forum_id( $post_id ); 1470 1468 $url_end = trailingslashit( $this->topic_slug ) . get_post_field( 'post_name', $post_id ); 1471 1469 break;