Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#25206 closed defect (bug) (fixed)

default_password_nag logic behavior

Reported by: wikicms's profile wikicms Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: minor Version: 3.6
Component: Users Keywords: has-patch commit
Focuses: Cc:


Step to reproduce:

  1. Register on blog

If we login at that moment we'll see notification about needed to change default password. It's okay.

  1. Reset Password and click confirm link, write new password.
  2. Login now

Default Notification about change password we'll see again. Oops. Why? If we have own password, changed manually.

Investigation in code:
Adds default_password_nag when new user registered

And not deleted or changed when password is resetting

Attachments (1)

25206.patch (746 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
11 years ago

  • Keywords has-patch commit added; needs-patch dev-feedback removed
  • Milestone changed from Awaiting Review to 3.7

#2 @SergeyBiryukov
11 years ago

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

In 25203:

Clear 'default_password_nag' flag when resetting a user's password, since the new password is entered manually. props wikicms. fixes #25206.

Note: See TracTickets for help on using tickets.