Skip to:
Content

BuddyPress.org


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

Fixes #2119 props edelwater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.