Skip to:
Content

BuddyPress.org

Changeset 9593


Ignore:
Timestamp:
03/03/2015 11:15:23 PM (7 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 (trunk)

File:
1 edited

Legend:

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

    r9517 r9593  
    10511051     */
    10521052    protected $activity_user_id = array();
     1053
     1054    /**
     1055     * If users can comment on blog & forum activity items
     1056     *
     1057     * @since BuddyPress (2.2.2)
     1058     *
     1059     * @link https://buddypress.trac.wordpress.org/ticket/6277
     1060     *
     1061     * @var bool
     1062     */
     1063    public $disable_blogforum_comments = false;
    10531064
    10541065    /**
Note: See TracChangeset for help on using the changeset viewer.