Changeset 2938
- Timestamp:
- 04/19/2010 06:12:40 AM (15 years ago)
- Location:
- branches/1.2/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-adminbar.php
r2769 r2938 7 7 return false; 8 8 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() ) 10 10 return false; 11 11 -
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.