mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
96a533b279
commit
012d05f5c0
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user