From edfdeaa105cdbf9765cbae1c39a6db6926a02abf Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 12 Feb 2024 15:36:31 +0000 Subject: [PATCH] Networks and Sites: Improve `switch_to_blog()` docblock. Follow-up to [41373]. Props sabernhardt, jeremyfelt, audrasjb. Fixes #60332. See #41815. git-svn-id: https://develop.svn.wordpress.org/trunk@57596 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-blogs.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/ms-blogs.php b/src/wp-includes/ms-blogs.php index eddb99c605..4a251cf300 100644 --- a/src/wp-includes/ms-blogs.php +++ b/src/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)