[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 21:39:20 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:                |     Focuses:
--------------------------+------------------------------

Comment (by henry.wright):

 @joyously that explains the why a blog name is passed to the function.
 When a function is used unconventionally like this, I feel we should
 provide a comment very close to where the function call takes place for
 clarification

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


More information about the wp-trac mailing list