Make WordPress Core

Changeset 44605


Ignore:
Timestamp:
01/15/2019 10:28:42 AM (6 years ago)
Author:
pento
Message:

Docs: Tweak the docblock for setup_userdata().

This is a followup to [44603]. The default value should be last, not somewhere in the middle.

Props swissspidy.
Fixes #44697.

File:
1 edited

Legend:

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

    r44603 r44605  
    10061006 * @global string  $user_identity The display name of the user
    10071007 *
    1008  * @param int $for_user_id Optional. Default 0. User ID to set up global data.
     1008 * @param int $for_user_id Optional. User ID to set up global data. Default 0.
    10091009 */
    10101010function setup_userdata( $for_user_id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.