[wp-trac] [WordPress Trac] #53109: wp_insert_user return 0

WordPress Trac noreply at wordpress.org
Thu Apr 29 09:01:21 UTC 2021


#53109: wp_insert_user return 0
------------------------------+-----------------------------
 Reporter:  superpuperlesha   |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Users             |    Version:  5.7
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 When I call the wp_insert_user function to which I pass too long
 first_name, I do not get an error, but I get a 0-integer. Although the
 documentation says, either wp_error or integer-ok.
 P.S. I create user with this function ..

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53109>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list