Changeset 8477
- Timestamp:
- 06/04/2014 11:43:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r8429 r8477 1140 1140 global $activities_template; 1141 1141 1142 if ( empty( $activities_template->activity->user_id ) )1142 if ( empty( $activities_template->activity->user_id ) || empty( $activities_template->activity->user_nicename ) || empty( $activities_template->activity->user_login ) ) { 1143 1143 $link = $activities_template->activity->primary_link; 1144 else1144 } else { 1145 1145 $link = bp_core_get_user_domain( $activities_template->activity->user_id, $activities_template->activity->user_nicename, $activities_template->activity->user_login ); 1146 } 1146 1147 1147 1148 return apply_filters( 'bp_get_activity_user_link', $link );
Note: See TracChangeset
for help on using the changeset viewer.