Skip to:
Content

BuddyPress.org

Ticket #3355: 3355.01.patch

File 3355.01.patch, 764 bytes (added by r-a-y, 15 years ago)
  • buddypress/bp-core/bp-core-template.php

     
    313313        echo apply_filters( 'bp_search_form', $form );
    314314}
    315315
    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         else
    321                 $logout_link = '<a href="' . bp_get_root_domain() . '/wp-login.php?action=logout&amp;redirect_to=' . bp_get_root_domain() . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    322 
    323         echo apply_filters( 'bp_logout_link', $logout_link );
    324 }
    325 
    326316function bp_custom_profile_boxes() {
    327317        do_action( 'bp_custom_profile_boxes' );
    328318}