Changeset 9698 for trunk/src/bp-xprofile/bp-xprofile-loader.php
- Timestamp:
- 04/05/2015 06:18:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-loader.php
r9676 r9698 96 96 // Defined conditionally to accommodate unit tests 97 97 if ( ! defined( 'BP_XPROFILE_BASE_GROUP_NAME' ) ) { 98 define( 'BP_XPROFILE_BASE_GROUP_NAME', stripslashes( $bp->site_options['bp-xprofile-base-group-name']) );98 define( 'BP_XPROFILE_BASE_GROUP_NAME', stripslashes( bp_core_get_root_option( 'avatar_default' ) ) ); 99 99 } 100 100 101 101 if ( ! defined( 'BP_XPROFILE_FULLNAME_FIELD_NAME' ) ) { 102 define( 'BP_XPROFILE_FULLNAME_FIELD_NAME', stripslashes( $bp->site_options['bp-xprofile-fullname-field-name']) );102 define( 'BP_XPROFILE_FULLNAME_FIELD_NAME', stripslashes( bp_core_get_root_option( 'bp-xprofile-fullname-field-name' ) ) ); 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.