Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/13/2011 02:19:35 PM (14 years ago)
Author:
djpaul
Message:

Use home_url instead of site_url in buddybar my account logout link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-buddybar.php

    r4057 r4142  
    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>';
     
    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' );
Note: See TracChangeset for help on using the changeset viewer.