Skip to:
Content

BuddyPress.org

Changeset 9592


Ignore:
Timestamp:
03/03/2015 11:14:00 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Activity: define $disable_blogforum_comments in BP_Activity_List_Table class.

While it's generally good to be explicit, this also addresses a compatibility issue with changes to WP_List_Table (in what will be WordPress 4.2) causing activity comment functionality to always return "null" even when enabled.

See #6277 (2.2 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/src/bp-activity/bp-activity-admin.php

    r9351 r9592  
    10531053     */
    10541054    protected $activity_user_id = array();
     1055
     1056    /**
     1057     * If users can comment on blog & forum activity items
     1058     *
     1059     * @since BuddyPress (2.2.2)
     1060     *
     1061     * @link https://buddypress.trac.wordpress.org/ticket/6277
     1062     *
     1063     * @var bool
     1064     */
     1065    public $disable_blogforum_comments = false;
    10551066
    10561067    /**
Note: See TracChangeset for help on using the changeset viewer.