[buddypress-trac] [BuddyPress Trac] #5580: Redirects to wrong user's profile page after successful avatar crop

buddypress-trac noreply at wordpress.org
Fri Apr 25 14:00:24 UTC 2014


#5580: Redirects to wrong user's profile page after successful avatar crop
----------------------------------------+---------------------
 Reporter:  mugwumpman                  |       Owner:  djpaul
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  2.1
Component:  Avatars                     |     Version:  2.0
 Severity:  minor                       |  Resolution:  fixed
 Keywords:  good-first-bug needs-patch  |
----------------------------------------+---------------------
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8322"]:
 {{{
 #!CommitTicketReference repository="" revision="8322"
 xProfile: fix redirect when an admin uploads an avatar to another user's
 profile.

 When cropping a new avatar, a redirect always took you to the logged-in
 user's profile.
 This was fine in most situations, as a user can only update their own
 profile.
 However, site admins are able to edit other users' profiles, so we need to
 redirect to the displayed user's profile.

 Fixes #5580, props milesstewart88
 }}}

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


More information about the buddypress-trac mailing list