Changeset 2919 for trunk/bp-core.php
- Timestamp:
- 04/13/2010 04:01:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r2864 r2919 298 298 * built in WordPress profile information 299 299 */ 300 if ( ! function_exists( 'xprofile_install' ) ) {300 if ( !bp_is_active( 'xprofile' ) ) { 301 301 /* Fallback values if xprofile is disabled */ 302 302 $bp->core->profile->slug = 'profile'; … … 1077 1077 1078 1078 if ( !$fullname = wp_cache_get( 'bp_user_fullname_' . $user_id, 'bp' ) ) { 1079 if ( function_exists('xprofile_install') ) {1079 if ( bp_is_active( 'xprofile' ) ) { 1080 1080 $fullname = xprofile_get_field_data( 1, $user_id ); 1081 1081 … … 1267 1267 @setcookie( 'bp-message-type', false, time() - 1000, COOKIEPATH ); 1268 1268 } 1269 add_action( ' wp', 'bp_core_setup_message' );1269 add_action( 'bp_init', 'bp_core_setup_message' ); 1270 1270 1271 1271 /**
Note: See TracChangeset
for help on using the changeset viewer.