Skip to:
Content

BuddyPress.org

Ticket #6323: 6323.02.patch

File 6323.02.patch, 1.0 KB (added by JustinSainton, 11 years ago)
  • src/bp-activity/classes/class-bp-activity-activity.php

     
    10721072                        'hide_sitewide'     => false
    10731073                ) );
    10741074
    1075                 // Setup empty array fro where query arguments
     1075                // Setup empty array from where query arguments
    10761076                $where_args = array();
    10771077
    10781078                // ID
     
    11691169                 */
    11701170                do_action_ref_array( 'bp_activity_after_delete', array( $activities, $r ) );
    11711171
    1172                 // Pluck the activity ID's out of the $activities array
     1172                // Pluck the activity IDs out of the $activities array
    11731173                $activity_ids = wp_parse_id_list( wp_list_pluck( $activities, 'id' ) );
    11741174
    11751175                // Handle accompanying activity comments and meta deletion
     
    11901190                                        'item_id' => $activity_id
    11911191                                ) );
    11921192
    1193                                 // Merge ID's together
     1193                                // Merge IDs together
    11941194                                if ( ! empty( $comments ) ) {
    11951195                                        $comment_ids = array_merge( $comment_ids, $comments );
    11961196                                }