From 01cbc2840062c39169f588b055d134e462a4c636 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 30 May 2019 14:36:41 +0000 Subject: [PATCH] Docs: Add missing documentation for the locale meta field. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The user’s locale is passed in the `$meta` parameter for `insert_user_meta`. Added in [38705]. Props tmatsuur. Fixes #47423. git-svn-id: https://develop.svn.wordpress.org/trunk@45479 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 3819f21f6f..2abbd7a7da 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -1808,6 +1808,7 @@ function wp_insert_user( $userdata ) { * not forced. * @type bool $show_admin_bar_front Whether to show the admin bar on the front end for the user. * Default true. + * @type string $locale User's locale. Default empty. * } * @param WP_User $user User object. * @param bool $update Whether the user is being updated rather than created.