Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/11/2011 08:44:20 PM (14 years ago)
Author:
djpaul
Message:

Fix blog posts not showing in activity stream in non-multisites. Fixes #3445, props boonebgorges and paulgibbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-loader.php

    r4961 r4965  
    5858
    5959        // Set the included and optional components.
    60         $bp->optional_components = array( 'activity', 'forums', 'friends', 'groups', 'messages', 'settings', 'xprofile' );
    61 
    62         // Blogs component only available for multisite
    63         if ( is_multisite() )
    64             $bp->optional_components[] = 'blogs';
    65 
    66         $bp->optional_components    = apply_filters( 'bp_optional_components', $bp->optional_components );
     60        $bp->optional_components = apply_filters( 'bp_optional_components', array( 'activity', 'blogs', 'forums', 'friends', 'groups', 'messages', 'settings', 'xprofile' ) );
    6761
    6862        // Set the required components
    69         $bp->required_components    = apply_filters( 'bp_required_components', array( 'members' ) );
     63        $bp->required_components = apply_filters( 'bp_required_components', array( 'members' ) );
    7064
    7165        // Get a list of activated components
Note: See TracChangeset for help on using the changeset viewer.