Skip to:
Content

BuddyPress.org

Ticket #2109: 2109.02.patch

File 2109.02.patch, 1.1 KB (added by r-a-y, 14 years ago)
  • bp-core/bp-core-buddybar.php

     
    410410
    411411        $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : '';
    412412
    413         echo '<li' . $alt . '><a id="bp-admin-logout" class="logout" href="' . wp_logout_url( site_url() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';
     413        echo '<li' . $alt . '><a id="bp-admin-logout" class="logout" href="' . wp_logout_url( home_url() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';
    414414        echo '</ul>';
    415415        echo '</li>';
    416416}
     
    481481                        wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', WP_CONTENT_URL . '/themes/' . $stylesheet . '/_inc/css/adminbar.css' ), array(), BP_VERSION );
    482482                else
    483483                        wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/css/adminbar.css' ), array(), BP_VERSION );
    484                
     484
    485485                // Actions used to build the BP admin bar
    486486                add_action( 'bp_adminbar_logo',  'bp_adminbar_logo' );
    487487                add_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu',         2   );