From ba65ad94f2cb46678d7ed3242cdf4206179d46d2 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 9 Mar 2016 07:42:26 +0000 Subject: [PATCH] Docs: Update param/return types for `WP_Site` in `ms-blogs.php` * `get_blog_details()` now returns a `WP_Site` object. * `clean_blog_cache()` is now called with a `WP_Site` object. See #32450. Built from https://develop.svn.wordpress.org/trunk@36894 git-svn-id: http://core.svn.wordpress.org/trunk@36861 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index f4769693cc..9108d59e38 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -115,7 +115,7 @@ function get_id_from_blogname( $slug ) { * If not specified the current blog ID is used. * @param bool $get_all Whether to retrieve all details or only the details in the blogs table. * Default is true. - * @return object|false Blog details on success. False on failure. + * @return WP_Site|false Blog details on success. False on failure. */ function get_blog_details( $fields = null, $get_all = true ) { global $wpdb; @@ -440,7 +440,7 @@ function update_blog_details( $blog_id, $details = array() ) { * * @since 3.5.0 * - * @param stdClass $blog The blog details as returned from get_blog_details() + * @param WP_Site $blog The blog details as returned from get_blog_details() */ function clean_blog_cache( $blog ) { $blog_id = $blog->blog_id; diff --git a/wp-includes/version.php b/wp-includes/version.php index 61b192e2b8..a09a3069d0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta2-36893'; +$wp_version = '4.5-beta2-36894'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.