[wp-trac] [WordPress Trac] #30647: wp_update_user() allows using existing user_email, user_login, and user_nicename

WordPress Trac noreply at wordpress.org
Wed Apr 1 18:22:18 UTC 2015


#30647: wp_update_user() allows using existing user_email, user_login, and
user_nicename
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.2
Component:  Users             |     Version:  2.9.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"31963"]:
 {{{
 #!CommitTicketReference repository="" revision="31963"
 When updating the email address for an existing user, make sure the email
 address is not already in use.

 Adds unit tests.

 Props rittesh.patel, DrewAPicture.
 Fixes #30647.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30647#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list