[wp-trac] [WordPress Trac] #54326: `username_exists()` is passed a blog name in wp-includes/ms-functions.php

WordPress Trac noreply at wordpress.org
Mon Jan 31 13:05:37 UTC 2022


#54326: `username_exists()` is passed a blog name in wp-includes/ms-functions.php
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:  SergeyBiryukov
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  6.0
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs, multisite
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52655" 52655]:
 {{{
 #!CommitTicketReference repository="" revision="52655"
 Docs: Add a comment to clarify the `username_exists()` check in
 `wpmu_validate_blog_signup()`.

 Creating a new site that matches an existing user's login name is not
 allowed, unless it's the user's own username.

 Follow-up to [https://mu.trac.wordpress.org/changeset/550 mu:550],
 [https://mu.trac.wordpress.org/changeset/1364 mu:1364].

 Props henry.wright, joyously, swissspidy, SergeyBiryukov.
 Fixes #54326.
 }}}

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


More information about the wp-trac mailing list