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:
Drew Jaynes 2016-03-16 16:20:14 +00:00
parent af6d494b00
commit 65277b77b6
1 changed files with 2 additions and 1 deletions

View File

@ -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.
*
* 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
* @access private