Skip to:
Content

BuddyPress.org

Ticket #38: logout.patch

File logout.patch, 659 bytes (added by da3rX, 12 years ago)
  • bp-core-templatetags.php

     
    2424                echo '<li' . $selected . '><a id="' . $bp_nav[$i]['id'] . '" href="' . $bp_nav[$i]['link'] . '">' . $bp_nav[$i]['name'] . '</a></li>';
    2525        }
    2626       
    27         echo '<li><a id="wp-logout" href="' . PROTOCOL . get_usermeta( get_current_user_id(), 'source_domain' ) . '/wp-login.php?action=logout">Log Out</a><li>';
     27        echo '<li><a id="wp-logout" href="' . get_option('home') . '/wp-login.php?action=logout">Log Out</a><li>';
    2828}
    2929
    3030function bp_get_options_nav() {