[wp-trac] [WordPress Trac] #39370: wp_insert_user() appends suffix to nicename when updating already existing user

WordPress Trac noreply at wordpress.org
Thu Mar 12 02:56:38 UTC 2020


#39370: wp_insert_user() appends suffix to nicename when updating already existing
user
-------------------------------------------------+-------------------------
 Reporter:  alfhen                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:  4.6.1
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch needs-   |     Focuses:
  testing needs-unit-tests                       |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  reporter-feedback => reporter-feedback has-patch needs-testing
     needs-unit-tests


Comment:

 In 39370.1.diff: Instead of the user login use the user ID when checking
 whether a user nicename belongs to the same user.

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


More information about the wp-trac mailing list