diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php
index 0e4cbe80e1..387bfecd9c 100644
--- a/src/wp-includes/pluggable.php
+++ b/src/wp-includes/pluggable.php
@@ -92,6 +92,8 @@ if ( ! function_exists( 'get_user_by' ) ) :
 	 * @since 2.8.0
 	 * @since 4.4.0 Added 'ID' as an alias of 'id' for the `$field` parameter.
 	 * @since 5.8.0 Returns the global `$current_user` if it's the user being fetched.
+   * 
+   * @global WP_User $current_user The current user object which holds the user data.
 	 *
 	 * @param string     $field The field to retrieve the user with. id | ID | slug | email | login.
 	 * @param int|string $value A value for $field. A user ID, slug, email address, or login name.
