Docs: Fix `@return` type for `wp_get_current_user()` after [36313].
See #19615. git-svn-id: https://develop.svn.wordpress.org/trunk@36314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
40c948c1a6
commit
57a589fef5
|
@ -62,7 +62,7 @@ if ( !function_exists('wp_get_current_user') ) :
|
|||
*
|
||||
* @global WP_User $current_user Checks if the current user is set.
|
||||
*
|
||||
* @return bool Current WP_User instance.
|
||||
* @return WP_User Current WP_User instance.
|
||||
*/
|
||||
function wp_get_current_user() {
|
||||
global $current_user;
|
||||
|
|
Loading…
Reference in New Issue