Skip to:
Content

BuddyPress.org

Changeset 11315


Ignore:
Timestamp:
12/20/2016 03:21:18 PM (4 years ago)
Author:
boonebgorges
Message:

After [11314], ensure that promised data is passed to xprofile_avatar_uploaded action.

Props Offereins.
Fixes #7371.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-avatars.php

    r11314 r11315  
    13001300             * @param array  $avatar_data Array of parameters passed to the avatar handler.
    13011301             */
    1302             do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'] );
     1302            do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $avatar_data );
    13031303
    13041304            wp_send_json_success( $return );
Note: See TracChangeset for help on using the changeset viewer.