Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/24/2011 06:57:51 PM (15 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-core/bp-core-buddybar.php

    r4466 r4559  
    322322                return false;
    323323
    324         if ( (int)get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
     324        if ( (int)bp_get_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
    325325                return false;
    326326
     
    487487                show_admin_bar( false );
    488488
    489                 if ( (int)get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
     489                if ( (int)bp_get_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
    490490                        return;
    491491
Note: See TracChangeset for help on using the changeset viewer.