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

buddypress-trac noreply at wordpress.org
Thu Jan 20 19:53:04 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:
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 I noticed this problem when I was doing a detailed review after BuddyPress
 10 release.

 There is no variable called `$r` in `bp_members_screen_change_avatar()`
 function. It should be `$args`. Commit
 https://buddypress.trac.wordpress.org/changeset/13177/trunk/src/bp-
 members/screens/change-avatar.php

 I don't see any problem with in Legacy and Nouveau template pack. We can
 fix this in 10.1 if I don't missing something important.

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


More information about the buddypress-trac mailing list