Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/15/2015 05:43:15 PM (10 years ago)
Author:
imath
Message:

Make sure the correct site option is checked in bp_activity_can_comment()

The option to check is bp-disable-blogforum-comments. In r9698, the option was mistyped to bp-disabled-blogforum-comments.

Fixes #6374

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r9728 r9751  
    296296
    297297        // Check if blog/forum replies are disabled
    298         $this->disable_blogforum_replies = (bool) bp_core_get_root_option( 'bp-disabled-blogforum-comments' );
     298        $this->disable_blogforum_replies = (bool) bp_core_get_root_option( 'bp-disable-blogforum-comments' );
    299299
    300300        // Get an array of the logged in user's favorite activities
Note: See TracChangeset for help on using the changeset viewer.