Correct a typo in the hash notation for `wp_insert_user()`: The argument name should be `$user_registered` not `$date_registered`.
Props floriansimeth. Fixes #31513. git-svn-id: https://develop.svn.wordpress.org/trunk@31608 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c9b51a3e6
commit
44f0a2976a
|
@ -1702,7 +1702,7 @@ function validate_username( $username ) {
|
|||
* to build $display_name if unspecified.
|
||||
* @type string|bool $rich_editing Whether to enable the rich-editor for the user. False
|
||||
* if not empty.
|
||||
* @type string $date_registered Date the user registered. Format is 'Y-m-d H:i:s'.
|
||||
* @type string $user_registered Date the user registered. Format is 'Y-m-d H:i:s'.
|
||||
* @type string $role User's role.
|
||||
* @type string $jabber User's Jabber account username.
|
||||
* @type string $aim User's AIM account username.
|
||||
|
|
Loading…
Reference in New Issue