Changeset 6492 for branches/2.5/includes/extend/buddypress/activity.php
- Timestamp:
- 06/06/2017 05:57:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/extend/buddypress/activity.php
r4995 r6492 275 275 276 276 // Get the activity stream item, bail if it doesn't exist 277 $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ));278 if ( empty( $existing ['total'] ) || ( 1 !== (int) $existing['total'] ) )277 $existing = new BP_Activity_Activity( $activity_id ); 278 if ( empty( $existing->component ) ) { 279 279 return null; 280 } 280 281 281 282 // Return the activity ID since we've verified the connection
Note: See TracChangeset
for help on using the changeset viewer.