[wp-trac] [WordPress Trac] #63770: WordPress wp_insert_user() throws warning when password is not provided
WordPress Trac
noreply at wordpress.org
Mon Aug 4 04:53:43 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: Awaiting Review
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: has-test-info has-patch | Focuses: coding-standards
-------------------------------------+-------------------------------
Comment (by hbhalodia):
Hi @peterwilsoncc, I guess that would be more stable approach, we check
for empty and as well we notify the user that this is kind of required
arguement, but if not provided a random password get's generated.
@iamadisingh, Thanks for the PR as per the comments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63770#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list