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. Built from https://develop.svn.wordpress.org/trunk@44605 git-svn-id: http://core.svn.wordpress.org/trunk@44436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f76f57e8ab
commit
c062e39ac8
|
@ -1005,7 +1005,7 @@ function count_users( $strategy = 'time', $site_id = null ) {
|
|||
* @global string $user_url The url in the user's profile
|
||||
* @global string $user_identity The display name of the user
|
||||
*
|
||||
* @param int $for_user_id Optional. Default 0. User ID to set up global data.
|
||||
* @param int $for_user_id Optional. User ID to set up global data. Default 0.
|
||||
*/
|
||||
function setup_userdata( $for_user_id = 0 ) {
|
||||
global $user_login, $userdata, $user_level, $user_ID, $user_email, $user_url, $user_identity;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44604';
|
||||
$wp_version = '5.1-beta1-44605';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue