From 012d05f5c00b4d5653207195551ea7bc8a39ff69 Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 30 May 2019 14:37:53 +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. Built from https://develop.svn.wordpress.org/trunk@45479 git-svn-id: http://core.svn.wordpress.org/trunk@45290 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 3819f21f6f..2abbd7a7da 100644 --- a/wp-includes/user.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 73130176fd..66b723ab14 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45478'; +$wp_version = '5.3-alpha-45479'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.