[buddypress-trac] [BuddyPress Trac] #8619: Undefined variable when handle avatar crop

buddypress-trac noreply at wordpress.org
Mon Jan 24 20:54:27 UTC 2022


#8619: Undefined variable when handle avatar crop
--------------------------+---------------------
 Reporter:  oztaser       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  10.1.0
Component:  Core          |     Version:  10.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by imath):

 In [changeset:"13220" 13220]:
 {{{
 #!CommitTicketReference repository="" revision="13220"
 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 (trunk)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8619#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list