mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 23:41:38 +01:00
Docs: Clarify the use of the get_currentuserinfo()
for backward compatibility purposes in the DocBlock description for _wp_get_current_user()
, introduced in [36651].
See #19615. See #35986. Built from https://develop.svn.wordpress.org/trunk@37008 git-svn-id: http://core.svn.wordpress.org/trunk@36975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f27e87e26a
commit
ba4ce19ad4
@ -2415,7 +2415,8 @@ function wp_get_users_with_no_role() {
|
|||||||
* set the current user to 0, which is invalid and won't have any permissions.
|
* set the current user to 0, which is invalid and won't have any permissions.
|
||||||
*
|
*
|
||||||
* This function is used by the pluggable functions wp_get_current_user() and
|
* This function is used by the pluggable functions wp_get_current_user() and
|
||||||
* get_currentuserinfo(), which is deprecated, for backward compatibility.
|
* get_currentuserinfo(), the latter of which is deprecated but used for backward
|
||||||
|
* compatibility.
|
||||||
*
|
*
|
||||||
* @since 4.5.0
|
* @since 4.5.0
|
||||||
* @access private
|
* @access private
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta3-37007';
|
$wp_version = '4.5-beta3-37008';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user