Changeset 5418
- Timestamp:
- 11/29/2011 11:09:34 PM (13 years ago)
- Location:
- trunk/bp-xprofile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-screens.php
r5329 r5418 38 38 // Make sure a group is set. 39 39 if ( !bp_action_variable( 1 ) ) 40 bp_core_redirect( bp_displayed_user_domain() . $bp->profile->slug . '/edit/group/1');40 bp_core_redirect( trailingslashit( bp_displayed_user_domain() . $bp->profile->slug . '/edit/group/1' ) ); 41 41 42 42 // Check the field group exists -
trunk/bp-xprofile/bp-xprofile-template.php
r5329 r5418 717 717 718 718 if ( !empty( $groups[$i]->fields ) ) { 719 $link = $bp->displayed_user->domain . $bp->profile->slug . '/edit/group/' . $groups[$i]->id;719 $link = trailingslashit( $bp->displayed_user->domain . $bp->profile->slug . '/edit/group/' . $groups[$i]->id ); 720 720 $tabs[] = sprintf( '<li %1$s><a href="%2$s">%3$s</a></li>', $selected, $link, esc_html( $groups[$i]->name ) ); 721 721 }
Note: See TracChangeset
for help on using the changeset viewer.