Changeset 2035
- Timestamp:
- 10/05/2009 06:49:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r2015 r2035 534 534 $ud = get_userdata($user_id); 535 535 536 if ( defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) ) 537 $username = $ud->user_login; 538 else 539 $username = $ud->user_nicename; 540 536 541 /* If we are using a members slug, include it. */ 537 542 if ( !defined( 'BP_ENABLE_ROOT_PROFILES' ) ) 538 return apply_filters( 'bp_core_get_user_domain', $bp->root_domain . '/' . BP_MEMBERS_SLUG . '/' . $u d->user_nicename . '/' );543 return apply_filters( 'bp_core_get_user_domain', $bp->root_domain . '/' . BP_MEMBERS_SLUG . '/' . $username . '/' ); 539 544 else 540 return apply_filters( 'bp_core_get_user_domain', $bp->root_domain . '/' . $u d->user_nicename . '/' );545 return apply_filters( 'bp_core_get_user_domain', $bp->root_domain . '/' . $username . '/' ); 541 546 } 542 547
Note: See TracChangeset
for help on using the changeset viewer.