Changeset 2938 for branches/1.2/bp-core/bp-core-cssjs.php
- Timestamp:
- 04/19/2010 06:12:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-cssjs.php
r2827 r2938 175 175 global $bp; 176 176 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() ) ) { 178 178 ?> 179 179 <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.