Changeset 13433 for trunk/src/bp-core/classes/class-bp-core-user.php
- Timestamp:
- 03/07/2023 04:28:08 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core-user.php
r12791 r13433 156 156 $full_name_field_name = bp_xprofile_fullname_field_name(); 157 157 158 $this->user_url = bp_ core_get_user_domain( $this->id, $this->profile_data['user_nicename'], $this->profile_data['user_login']);158 $this->user_url = bp_members_get_user_url( $this->id ); 159 159 $this->fullname = esc_attr( $this->profile_data[$full_name_field_name]['field_data'] ); 160 160 $this->user_link = "<a href='{$this->user_url}'>{$this->fullname}</a>"; 161 161 $this->email = esc_attr( $this->profile_data['user_email'] ); 162 162 } else { 163 $this->user_url = bp_ core_get_user_domain( $this->id );163 $this->user_url = bp_members_get_user_url( $this->id ); 164 164 $this->user_link = bp_core_get_userlink( $this->id ); 165 165 $this->fullname = esc_attr( bp_core_get_user_displayname( $this->id ) );
Note: See TracChangeset
for help on using the changeset viewer.