From 65277b77b6dce14363e108bc211c4478e9e2eeba Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Mar 2016 16:20:14 +0000 Subject: [PATCH] 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 --- src/wp-includes/user.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 116e67c238..69cc86c0d6 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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