From 44f0a2976a0336d234b9fbc7430cc44c167ed699 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 4 Mar 2015 09:50:34 +0000 Subject: [PATCH] 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 --- src/wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 46088fef04..030f6bdcab 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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.