Changeset 2919 for trunk/bp-activity/bp-activity-classes.php
- Timestamp:
- 04/13/2010 04:01:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r2822 r2919 132 132 133 133 /* Get the fullnames of users so we don't have to query in the loop */ 134 if ( function_exists( 'xprofile_install' ) && $activities ) {134 if ( bp_is_active( 'xprofile' ) && $activities ) { 135 135 foreach ( (array)$activities as $activity ) { 136 136 if ( (int)$activity->user_id ) … … 354 354 if ( !$comments = wp_cache_get( 'bp_activity_comments_' . $activity_id ) ) { 355 355 /* Select the user's fullname with the query so we don't have to fetch it for each comment */ 356 if ( function_exists( 'xprofile_install' ) ) {356 if ( bp_is_active( 'xprofile' ) ) { 357 357 $fullname_select = ", pd.value as user_fullname"; 358 358 $fullname_from = ", {$bp->profile->table_name_data} pd ";
Note: See TracChangeset
for help on using the changeset viewer.