From 80dd53519d1a8c5ee7bd6c8f72629db7d77e6b81 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 9 Mar 2016 07:28:26 +0000 Subject: [PATCH] Docs: Update the return type for `get_current_site()` This is now a `WP_Network` object. See #32246. Built from https://develop.svn.wordpress.org/trunk@36893 git-svn-id: http://core.svn.wordpress.org/trunk@36860 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 3bc3e967da..0b610753f2 100644 --- a/wp-includes/ms-functions.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a13a9668d..61b192e2b8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta2-36892'; +$wp_version = '4.5-beta2-36893'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.