Skip to:
Content

bbPress.org

Ticket #2718: 2718.patch

File 2718.patch, 681 bytes (added by boonebgorges, 5 years ago)
  • src/includes/extend/buddypress/groups.php

    diff --git src/includes/extend/buddypress/groups.php src/includes/extend/buddypress/groups.php
    index cb98bde..5c30ba2 100644
    class BBP_Forums_Group_Extension extends BP_Group_Extension { 
    149149         * The primary display function for group forums
    150150         *
    151151         * @since bbPress (r3746)
     152         *
     153         * @param int $group_id ID of the current group. Available only on BP 2.2+.
    152154         */
    153         public function display() {
     155        public function display( $group_id = null ) {
    154156
    155157                // Prevent Topic Parent from appearing
    156158                add_action( 'bbp_theme_before_topic_form_forum', array( $this, 'ob_start'     ) );