Changeset 3982 for trunk/bp-members/bp-members-template.php
- Timestamp:
- 02/01/2011 07:46:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-template.php
r3955 r3982 445 445 446 446 if ( !empty( $update['id'] ) ) 447 $update_content .= ' · <a href="' . $bp->root_domain. '/' . $bp->activity->root_slug . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>';447 $update_content .= ' · <a href="' . bp_get_root_domain() . '/' . $bp->activity->root_slug . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>'; 448 448 449 449 return apply_filters( 'bp_get_member_latest_update', $update_content ); … … 580 580 // Always add a log out list item to the end of the navigation 581 581 if ( function_exists( 'wp_logout_url' ) ) 582 $logout_link = '<li><a id="wp-logout" href="' . wp_logout_url( $bp->root_domain) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';582 $logout_link = '<li><a id="wp-logout" href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; 583 583 else 584 $logout_link = '<li><a id="wp-logout" href="' . site_url() . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain. '">' . __( 'Log Out', 'buddypress' ) . '</a></li>';584 $logout_link = '<li><a id="wp-logout" href="' . site_url() . '/wp-login.php?action=logout&redirect_to=' . bp_get_root_domain() . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; 585 585 586 586 echo apply_filters( 'bp_logout_nav_link', $logout_link ); … … 802 802 803 803 if ( bp_has_custom_signup_page() ) 804 $page = $bp->root_domain. '/' . BP_REGISTER_SLUG;805 else 806 $page = $bp->root_domain. '/wp-signup.php';804 $page = bp_get_root_domain() . '/' . BP_REGISTER_SLUG; 805 else 806 $page = bp_get_root_domain() . '/wp-signup.php'; 807 807 808 808 return apply_filters( 'bp_get_signup_page', $page ); … … 823 823 824 824 if ( bp_has_custom_activation_page() ) 825 $page = trailingslashit( $bp->root_domain) . BP_ACTIVATION_SLUG;826 else 827 $page = trailingslashit( $bp->root_domain) . 'wp-activate.php';825 $page = trailingslashit( bp_get_root_domain() ) . BP_ACTIVATION_SLUG; 826 else 827 $page = trailingslashit( bp_get_root_domain() ) . 'wp-activate.php'; 828 828 829 829 return apply_filters( 'bp_get_activation_page', $page );
Note: See TracChangeset
for help on using the changeset viewer.