Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6911 closed defect (bug) (fixed)

User profile edit page takes "admin color scheme" option from incorrect profile

Reported by: regulatethis's profile regulatethis Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Template Keywords: has-patch
Focuses: Cc:

Description

If as an admin you attempt to edit a user profile, the "admin color scheme" option will be populated from the current user's profile, when it should be populated with the option value from the profile of the user being edited.

This is happening in the trunk (r7882)

Attachments (1)

6911.diff (481 bytes) - added by regulatethis 17 years ago.

Download all attachments as: .zip

Change History (7)

@regulatethis
17 years ago

#1 @regulatethis
17 years ago

Attached a patch to fix...

To reproduce this:

  1. As admin create a new user account
  2. Default admin colour scheme for new account is "fresh"
  3. As admin, change YOUR colour scheme to "classic"
  4. As admin, edit the new user's profile
  5. Notice that the currently selected option incorrectly displays as "classic"

#2 @regulatethis
17 years ago

  • Keywords has-patch added
  • Milestone changed from 2.7 to 2.5.2

#3 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7898]) Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for trunk

#4 @ryan
17 years ago

(In [7899]) Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for 2.5

#5 @ryan
17 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#6 @westi
17 years ago

  • Milestone changed from 2.9 to 2.6
Note: See TracTickets for help on using tickets.