WordPress.org

Make WordPress Core

Changeset 45479


Ignore:
Timestamp:
05/30/2019 02:36:41 PM (5 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r45204 r45479  
    18091809     *     @type bool     $show_admin_bar_front Whether to show the admin bar on the front end for the user.
    18101810     *                                          Default true.
     1811     *     @type string   $locale               User's locale. Default empty.
    18111812     * }
    18121813     * @param WP_User $user   User object.
Note: See TracChangeset for help on using the changeset viewer.