diff --git a/wp-includes/class-wp-site.php b/wp-includes/class-wp-site.php index 1e53f227ce..53529fe946 100644 --- a/wp-includes/class-wp-site.php +++ b/wp-includes/class-wp-site.php @@ -346,6 +346,9 @@ final class WP_Site { } } + /** This filter is documented in wp-includes/ms-blogs.php */ + $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' ); + /** * Filters a site's extended properties. * diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index 46a3961c8f..4e2a255663 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -240,10 +240,11 @@ function get_blog_details( $fields = null, $get_all = true ) { * Filters a blog's details. * * @since MU + * @deprecated 4.7.0 Use site_details * * @param object $details The blog details. */ - $details = apply_filters( 'blog_details', $details ); + $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' ); wp_cache_set( $blog_id . $all, $details, 'blog-details' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4375e2f8eb..2aa7154017 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38935'; +$wp_version = '4.7-alpha-38936'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.