Changeset 12503 for trunk/src/bp-core/bp-core-filters.php
- Timestamp:
- 12/06/2019 06:44:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r12349 r12503 478 478 479 479 $salutation = $user; 480 if ( $signups ) {480 if ( $signups && bp_is_active( 'xprofile' ) ) { 481 481 $signup = $signups['signups'][0]; 482 482 if ( isset( $signup->meta[ 'field_' . bp_xprofile_fullname_field_id() ] ) ) { … … 540 540 541 541 $salutation = $user; 542 if ( isset( $meta[ 'field_' . bp_xprofile_fullname_field_id() ] ) ) {542 if ( bp_is_active( 'xprofile' ) && isset( $meta[ 'field_' . bp_xprofile_fullname_field_id() ] ) ) { 543 543 $salutation = $meta[ 'field_' . bp_xprofile_fullname_field_id() ]; 544 544 } elseif ( $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.