Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/11/2011 08:44:20 PM (15 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-blogs/bp-blogs-loader.php

    r4961 r4965  
    5454            'slug'                  => BP_BLOGS_SLUG,
    5555            'root_slug'             => isset( $bp->pages->blogs->slug ) ? $bp->pages->blogs->slug : BP_BLOGS_SLUG,
    56             'has_directory'         => true,
     56            'has_directory'         => is_multisite(), // Non-multisite installs don't need a top-level Sites directory, since there's only one site
    5757            'notification_callback' => 'bp_blogs_format_notifications',
    5858            'search_string'         => __( 'Search sites...', 'buddypress' ),
Note: See TracChangeset for help on using the changeset viewer.