From 64b5e4c51a781753b04770b48b2242fa6e12866d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 12 Feb 2024 15:38:09 +0000 Subject: [PATCH] Networks and Sites: Improve `switch_to_blog()` docblock. Follow-up to [41373]. Props sabernhardt, jeremyfelt, audrasjb. Fixes #60332. See #41815. Built from https://develop.svn.wordpress.org/trunk@57596 git-svn-id: http://core.svn.wordpress.org/trunk@57097 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 3 +-- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index eddb99c605..4a251cf300 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -480,8 +480,7 @@ function update_blog_option( $id, $option, $value, $deprecated = null ) { * This function is useful if you need to pull posts, or other information, * from other blogs. You can switch back afterwards using restore_current_blog(). * - * Things that aren't switched: - * - plugins. See #14941 + * PHP code loaded with the originally requested site, such as code from a plugin or theme, does not switch. See #14941. * * @see restore_current_blog() * @since MU (3.0.0) diff --git a/wp-includes/version.php b/wp-includes/version.php index e85bea32d6..e75087c480 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57595'; +$wp_version = '6.5-alpha-57596'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.