Skip to:
Content

BuddyPress.org

Changeset 2938


Ignore:
Timestamp:
04/19/2010 06:12:40 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2119 props edelwater

Location:
branches/1.2/bp-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-adminbar.php

    r2769 r2938  
    77        return false;
    88
    9     if ( (int)$bp->site_options['hide-loggedout-adminbar'] && !is_user_logged_in() )
     9    if ( (int)get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
    1010        return false;
    1111
  • branches/1.2/bp-core/bp-core-cssjs.php

    r2827 r2938  
    175175    global $bp;
    176176
    177     if ( defined( 'BP_DISABLE_ADMIN_BAR' ) || ( $bp->site_options['hide-loggedout-adminbar'] && !is_user_logged_in() ) ) {
     177    if ( defined( 'BP_DISABLE_ADMIN_BAR' ) || ( (int)get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() ) ) {
    178178    ?>
    179179<style type="text/css">body { padding-top: 0 !important; } #wp-admin-bar { display: none; }</style>
Note: See TracChangeset for help on using the changeset viewer.