Skip to:
Content

BuddyPress.org

Changeset 13219


Ignore:
Timestamp:
01/24/2022 08:53:28 PM (3 years ago)
Author:
imath
Message:

Members: make sure pre-2.3 avatar crop handler is using the right args

Before BuddyPress 2.3 was released, the xprofile_screen_change_avatar() screen handler (which has been deprecated in favor of the bp_members_screen_change_avatar() in version 6.0) used to process the avatar crop using an array built out of posted variables. During the 6.0 deprecation process, this variable has been wrongly named $r instead of $args. This commit is replacing the wrong variable name by the right one.

Props oztaser

See #8619 (branch 10.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.