From 57a589fef5884d3e24e7a47c76ee1c4a43d48af1 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Fri, 15 Jan 2016 11:15:51 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index d5d03546ee..5227262378 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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;