WordPress.org

Make WordPress Core

Ticket #47423: 47423.diff

File 47423.diff, 922 bytes (added by tmatsuur, 20 months ago)
  • src/wp-includes/user.php

     
    17921792         * Does not include contact methods. These are added using `wp_get_user_contact_methods( $user )`.
    17931793         *
    17941794         * @since 4.4.0
     1795         * @since 4.7.0 The `$locale` field was added.
    17951796         *
    17961797         * @param array $meta {
    17971798         *     Default meta values and keys for the user.
     
    18081809         *                                          not forced.
    18091810         *     @type bool     $show_admin_bar_front Whether to show the admin bar on the front end for the user.
    18101811         *                                          Default true.
     1812         *     @type bool     $locale               User's locale. Default empty.
    18111813         * }
    18121814         * @param WP_User $user   User object.
    18131815         * @param bool    $update Whether the user is being updated rather than created.