Changeset 5415
- Timestamp:
- 11/29/2011 09:53:44 PM (13 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-buddybar.php
r5412 r5415 40 40 'name' => $name, 41 41 'slug' => $slug, 42 'link' => $bp->loggedin_user->domain . $slug . '/',42 'link' => trailingslashit( $bp->loggedin_user->domain . $slug ), 43 43 'css_id' => $item_css_id, 44 44 'show_for_displayed_user' => $show_for_displayed_user, … … 248 248 // a non-public tab, like 'messages' 249 249 if ( bp_is_active( 'activity' ) && isset( $bp->pages->activity ) ) { 250 $redirect_to = bp_displayed_user_domain() . bp_get_activity_slug();250 $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() ); 251 251 } else { 252 $redirect_to = bp_displayed_user_domain() . ( 'xprofile' == $bp->profile->id ? 'profile' : $bp->profile->id);252 $redirect_to = trailingslashit( bp_displayed_user_domain() . ( 'xprofile' == $bp->profile->id ? 'profile' : $bp->profile->id ) ); 253 253 } 254 254 -
trunk/bp-core/bp-core-template.php
r5394 r5415 238 238 239 239 function bp_search_form_action() { 240 return apply_filters( 'bp_search_form_action', bp_get_root_domain() . '/' . bp_get_search_slug() );240 return apply_filters( 'bp_search_form_action', trailingslashit( bp_get_root_domain() . '/' . bp_get_search_slug() ) ); 241 241 } 242 242
Note: See TracChangeset
for help on using the changeset viewer.