[wp-trac] [WordPress Trac] #16484: Attempting to add user with username "0" gives fatal error

WordPress Trac noreply at wordpress.org
Sat May 9 00:25:52 UTC 2015


#16484: Attempting to add user with username "0" gives fatal error
----------------------------------------+-----------------------------
 Reporter:  markjaquith                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Users                       |     Version:  3.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-refresh dev-feedback  |     Focuses:
----------------------------------------+-----------------------------
Changes (by chriscct7):

 * keywords:  has-patch needs-testing => needs-refresh dev-feedback
 * priority:  lowest => normal
 * severity:  minor => normal


Comment:

 Just because of how many plugins out there could do bad things with a
 username of 0 (or for that matter 1), perhaps we should prevent people
 from using the usernames `0`, `1`, `true`, and `false`

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


More information about the wp-trac mailing list