Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/30/2016 12:32:04 PM (10 years ago)
Author:
imath
Message:

Multisite: Make sure the Blogs directory page is dynamically created when activating the component.

Fixes #7150

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r10956 r10972  
    634634                'activity' => _x( 'Activity', 'Page title for the Activity directory.',       'buddypress' ),
    635635                'groups'   => _x( 'Groups',   'Page title for the Groups directory.',         'buddypress' ),
    636                 'sites'    => _x( 'Sites',    'Page title for the Sites directory.',          'buddypress' ),
     636                'blogs'    => _x( 'Sites',    'Page title for the Sites directory.',          'buddypress' ),
    637637                'members'  => _x( 'Members',  'Page title for the Members directory.',        'buddypress' ),
    638638                'activate' => _x( 'Activate', 'Page title for the user activation screen.',   'buddypress' ),
    … …  
    658658
    659659        // No need for a Sites directory unless we're on multisite.
    660         if ( ! is_multisite() && isset( $pages_to_create['sites'] ) ) {
    661                 unset( $pages_to_create['sites'] );
     660        if ( ! is_multisite() && isset( $pages_to_create['blogs'] ) ) {
     661                unset( $pages_to_create['blogs'] );
    662662        }
    663663
Note: See TracChangeset for help on using the changeset viewer.