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

WordPress Trac noreply at wordpress.org
Tue Oct 26 22:21:19 UTC 2021


#54326: `username_exists()` is passed a blog name in wp-includes/ms-functions.php
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by swissspidy):

 I don't think such a comment like in [attachment:"54326.diff"] adds much
 value. It literally just describes what the next line of code does. You
 get the same information from just reading that line of code.

 It'd be more helpful to explain that such a blog name is not allowed,
 unless it's the user's own username.

 But then again, that is already in the function description.

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


More information about the wp-trac mailing list