Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/24/2011 06:57:51 PM (14 years ago)
Author:
boonebgorges
Message:

Introduces bp_x_option() wrapper functions, along with bp_get_option_blog_id() to allow for fully filterable option storage. Refactors internal option storage to use new API functions. Fixes bp-pages for BP_ENABLE_MULTIBLOG. Fixes #3261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-template.php

    r4466 r4559  
    363363    global $bp;
    364364
    365     $active_signup = $bp->site_options['registration'];
    366 
    367     if ( !$active_signup )
    368         $active_signup = 'all';
     365    $active_signup = isset( $bp->site_options['registration'] ) ? $bp->site_options['registration'] : 'all';
    369366
    370367    $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user"
Note: See TracChangeset for help on using the changeset viewer.