Docs: Add missing documentation for the locale meta field.

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
This commit is contained in:
desrosj 2019-05-30 14:37:53 +00:00
parent 96a533b279
commit 012d05f5c0
2 changed files with 2 additions and 1 deletions

View File

@ -1808,6 +1808,7 @@ function wp_insert_user( $userdata ) {
* not forced. * not forced.
* @type bool $show_admin_bar_front Whether to show the admin bar on the front end for the user. * @type bool $show_admin_bar_front Whether to show the admin bar on the front end for the user.
* Default true. * Default true.
* @type string $locale User's locale. Default empty.
* } * }
* @param WP_User $user User object. * @param WP_User $user User object.
* @param bool $update Whether the user is being updated rather than created. * @param bool $update Whether the user is being updated rather than created.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.