Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/31/2023 09:59:10 AM (2 years ago)
Author:
imath
Message:

Activity: remove an unused variable in the personal data exporter

Props shailu25

Fixes #8957

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r13531 r13539  
    43934393 */
    43944394function bp_activity_personal_data_exporter( $email_address, $page ) {
    4395     $number = 50;
    4396 
    4397     $email_address = trim( $email_address );
    4398 
    4399     $data_to_export = array();
     4395    $number              = 50;
     4396    $email_address       = trim( $email_address );
     4397    $user_data_to_export = array();
    44004398
    44014399    $user = get_user_by( 'email', $email_address );
     
    44184416    ) );
    44194417
    4420     $user_data_to_export = array();
    44214418    $activity_actions    = bp_activity_get_actions();
    44224419
     
    44664463        $item_data = apply_filters( 'bp_activity_personal_data_export_item_data', $item_data, $activity );
    44674464
    4468         $data_to_export[] = array(
     4465        $user_data_to_export[] = array(
    44694466            'group_id'    => 'bp_activity',
    44704467            'group_label' => __( 'Activity', 'buddypress' ),
     
    44784475
    44794476    return array(
    4480         'data' => $data_to_export,
     4477        'data' => $user_data_to_export,
    44814478        'done' => $done,
    44824479    );
Note: See TracChangeset for help on using the changeset viewer.