[wp-trac] [WordPress Trac] #53109: wp_insert_user should return a WP_Error when passing a too long first_name parameter
WordPress Trac
noreply at wordpress.org
Thu Apr 29 09:18:01 UTC 2021
#53109: wp_insert_user should return a WP_Error when passing a too long first_name
parameter
-----------------------------+------------------------------
Reporter: superpuperlesha | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+------------------------------
Comment (by SergeyBiryukov):
Hi there, welcome to WordPress Trac! Thanks for the report.
Looks like this was previously mentioned in comment:3:ticket:14290 but
never addressed.
A similar issue was resolved in WordPress 4.4 for `user_login` and
`user_nicename` fields: #33793, #33820. Looks like we need the same for
`first_name` and `last_name`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53109#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list