Make WordPress Core

Changeset 33687


Ignore:
Timestamp:
08/21/2015 05:32:53 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Clarify the DocBlock summary and add a description and return description for _get_additional_user_keys().

As noted in the description, returned keys being set is dependent on the existence of those keys in user meta at the point where _get_additional_user_keys() is called in wp_update_user().

Fixes #29120.

File:
1 edited

Legend:

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

    r33620 r33687  
    23522352
    23532353/**
    2354  * Return a list of meta keys that wp_insert_user() is supposed to set.
     2354 * Returns a list of meta keys to be (maybe) populated in wp_update_user().
     2355 *
     2356 * Values actually keys returned via this function are dependent on the presence
     2357 * of those keys in the user meta data.
    23552358 *
    23562359 * @since 3.3.0
     
    23582361 *
    23592362 * @param WP_User $user WP_User instance.
    2360  * @return array
     2363 * @return array List of user keys to be populated in wp_update_user().
    23612364 */
    23622365function _get_additional_user_keys( $user ) {
Note: See TracChangeset for help on using the changeset viewer.