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. git-svn-id: https://develop.svn.wordpress.org/trunk@37008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
af6d494b00
commit
65277b77b6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user