Skip to:
Content

BuddyPress.org

Changeset 3707


Ignore:
Timestamp:
01/14/2011 07:38:53 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Provide default slug when converting from single site to multisite in an unsupported but still possible way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r3671 r3707  
    1010    global $bp, $wpdb;
    1111
    12     if ( !defined( 'BP_BLOGS_SLUG' ) )
     12    if ( !defined( 'BP_BLOGS_SLUG' ) && isset( $bp->pages->blogs->slug ) )
    1313        define ( 'BP_BLOGS_SLUG', $bp->pages->blogs->slug );
     14    else
     15        define ( 'BP_BLOGS_SLUG', 'blogs' );
    1416
    1517    // For internal identification
Note: See TracChangeset for help on using the changeset viewer.