Changeset 5102 for trunk/bp-core/bp-core-classes.php
- Timestamp:
- 09/05/2011 02:26:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r4937 r5102 148 148 global $bp; 149 149 150 $full_name_field_name = bp_xprofile_fullname_field_name();151 152 150 if ( bp_is_active( 'xprofile' ) ) 153 151 $this->profile_data = $this->get_profile_data(); 154 152 155 if ( $this->profile_data ) { 153 if ( !empty( $this->profile_data ) ) { 154 $full_name_field_name = bp_xprofile_fullname_field_name(); 155 156 156 $this->user_url = bp_core_get_user_domain( $this->id, $this->profile_data['user_nicename'], $this->profile_data['user_login'] ); 157 157 $this->fullname = esc_attr( $this->profile_data[$full_name_field_name]['field_data'] );
Note: See TracChangeset
for help on using the changeset viewer.