Skip to:
Content

BuddyPress.org

Changeset 5771


Ignore:
Timestamp:
02/13/2012 03:28:18 PM (12 years ago)
Author:
boonebgorges
Message:

Pass wp_guess_url() to wp_logout_url() in sidebar logout widget. Fixes #3950.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/sidebar.php

    r5737 r5771  
    1616
    1717            <h4><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></h4>
    18             <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a>
     18            <a class="button logout" href="<?php echo wp_logout_url( wp_guess_url() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a>
    1919
    2020            <?php do_action( 'bp_sidebar_me' ); ?>
Note: See TracChangeset for help on using the changeset viewer.