Changeset 4723 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 07/19/2011 08:28:15 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r4648 r4723 312 312 313 313 echo apply_filters( 'bp_search_form', $form ); 314 }315 316 function bp_log_out_link() {317 global $bp;318 if ( function_exists('wp_logout_url') )319 $logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';320 else321 $logout_link = '<a href="' . bp_get_root_domain() . '/wp-login.php?action=logout&redirect_to=' . bp_get_root_domain() . '">' . __( 'Log Out', 'buddypress' ) . '</a>';322 323 echo apply_filters( 'bp_logout_link', $logout_link );324 314 } 325 315
Note: See TracChangeset
for help on using the changeset viewer.