Skip to:
Content

BuddyPress.org

Ticket #2024: 2024.patch

File 2024.patch, 655 bytes (added by TobiasBg, 14 years ago)

patch deprecates bp_core_override_adminbar_css()

  • bp-core-cssjs.php

     
    170170 * Overrides the theme's admin bar CSS to hide the adminbar if disabled.
    171171 *
    172172 * @package BuddyPress Core
     173 *
     174 * @deprecated This function should no longer be used.
    173175 */
    174176function bp_core_override_adminbar_css() {
    175177        global $bp;
     
    179181<style type="text/css">body { padding-top: 0 !important; } #wp-admin-bar { display: none; }</style>
    180182        <?php }
    181183}
    182 add_action( 'wp_footer', 'bp_core_override_adminbar_css' );
     184
    183185?>
     186 No newline at end of file