Skip to:
Content

bbPress.org

Changeset 6810


Ignore:
Timestamp:
04/23/2018 04:05:08 AM (4 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress: prefer empty() check on disable_blogforum_replies setting.

This fixes a bug causing some activity to not appear in relative activity streams.

Fixes #3180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/activity.php

    r6774 r6810  
    336336
    337337        // Check if blog & forum activity stream commenting is off
    338         if ( ( false === $activities_template->disable_blogforum_replies ) || (int) $activities_template->disable_blogforum_replies ) {
     338        if ( ! empty( $activities_template->disable_blogforum_replies ) ) {
    339339
    340340            // Get the current action name
Note: See TracChangeset for help on using the changeset viewer.