Skip to:
Content

BuddyPress.org

Ticket #7371: 7371-typo.diff

File 7371-typo.diff, 789 bytes (added by jdgrimes, 5 years ago)

Fix a typo: s/atavar_data/avatar_data/

  • src/bp-core/bp-core-avatars.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    13481348                        do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $r );
    13491349                } elseif ( 'group' === $avatar_data['object'] ) {
    13501350                        /** This action is documented in bp-groups/bp-groups-screens.php */
    1351                         do_action( 'groups_avatar_uploaded', (int) $avatar_data['item_id'], $atavar_data['type'], $r );
     1351                        do_action( 'groups_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $r );
    13521352                }
    13531353
    13541354                wp_send_json_success( $return );