Ticket #2024: 2024.patch
File 2024.patch, 655 bytes (added by , 15 years ago) |
---|
-
bp-core-cssjs.php
170 170 * Overrides the theme's admin bar CSS to hide the adminbar if disabled. 171 171 * 172 172 * @package BuddyPress Core 173 * 174 * @deprecated This function should no longer be used. 173 175 */ 174 176 function bp_core_override_adminbar_css() { 175 177 global $bp; … … 179 181 <style type="text/css">body { padding-top: 0 !important; } #wp-admin-bar { display: none; }</style> 180 182 <?php } 181 183 } 182 add_action( 'wp_footer', 'bp_core_override_adminbar_css' ); 184 183 185 ?> 186 No newline at end of file