Changeset 1994
- Timestamp:
- 09/29/2009 06:48:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r1988 r1994 48 48 /* Always add a log out list item to the end of the navigation */ 49 49 if ( function_exists( 'wp_logout_url' ) ) { 50 echo '<li><a id="wp-logout" href="' . wp_logout_url( site_url() . $_SERVER['REQUEST_URI']) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';50 echo '<li><a id="wp-logout" href="' . wp_logout_url( $bp->root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; 51 51 } else { 52 echo '<li><a id="wp-logout" href="' . site_url() . '/wp-login.php?action=logout&redirect_to=' . site_url() . $_SERVER['REQUEST_URI']. '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';52 echo '<li><a id="wp-logout" href="' . site_url() . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; 53 53 } 54 54 }
Note: See TracChangeset
for help on using the changeset viewer.