[wp-trac] [WordPress Trac] #63770: WordPress wp_insert_user() throws warning when password is not provided

WordPress Trac noreply at wordpress.org
Thu Aug 7 23:09:08 UTC 2025


#63770: WordPress wp_insert_user() throws warning when password is not provided
-------------------------------------+-------------------------------------
 Reporter:  sheldorofazeroth         |       Owner:  sheldorofazeroth
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.9
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-test-info has-patch  |     Focuses:  coding-standards, php-
  commit                             |  compatibility
-------------------------------------+-------------------------------------
Changes (by peterwilsoncc):

 * keywords:  has-test-info has-patch => has-test-info has-patch commit
 * focuses:  coding-standards => coding-standards, php-compatibility
 * component:  Login and Registration => Users
 * version:  trunk =>
 * milestone:  Awaiting Review => 6.9


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/9381 PR#9381] looks
 good for commit, marking as such.

 I've done a little ticket maintenance too:
 * moved it to the Users component as the issue doesn't occur during
 registration, only when developer call the function incorrectly
 * added the PHP-Compatibility focus as the warnings thrown & quantity of
 warnings thrown varies with different versions of PHP (PHP 8.0 throws one;
 PHP 8.1+ throws two)

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


More information about the wp-trac mailing list