Skip to:
Content

BuddyPress.org

Changeset 2329


Ignore:
Timestamp:
01/18/2010 11:46:56 AM (17 years ago)
Author:
apeatling
Message:

Fixes #1576 - only show activation notice on root blog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2315 r2329  
    19321932 */
    19331933function bp_core_activation_notice() {
    1934         global $wp_rewrite;
     1934        global $wp_rewrite, $current_blog, $bp;
    19351935
    19361936        if ( isset( $_POST['permalink_structure'] ) )
    … …  
    19381938
    19391939        if ( !is_site_admin() )
     1940                return false;
     1941
     1942        if ( $current_blog->blog_id != BP_ROOT_BLOG )
    19401943                return false;
    19411944
Note: See TracChangeset for help on using the changeset viewer.