From 65b2be5b8fcf65d55d0c07adcc02e26c1840c3a3 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 9 Mar 2016 07:27:56 +0000 Subject: [PATCH] Docs: Update the return type for `get_current_site()` This is now a `WP_Network` object. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36893 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 3bc3e967da..0b610753f2 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -1590,9 +1590,9 @@ function wpmu_welcome_user_notification( $user_id, $password, $meta = array() ) * * @since MU * - * @global object $current_site + * @global WP_Network $current_site * - * @return object + * @return WP_Network */ function get_current_site() { global $current_site;