From 411714ad6803db8ac5fdaa1884d1adb6147bcaec Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 15 Aug 2012 15:56:14 +0000 Subject: [PATCH] Fix phpdoc for switch_to_blog() and restore_current_blog(). Props SergeyBiryukov. fixes #21459 git-svn-id: http://core.svn.wordpress.org/trunk@21523 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index 79f5c30d84..fb9f2befb9 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -446,8 +446,8 @@ function update_blog_option( $id, $option, $value, $deprecated = null ) { * @since MU * * @param int $new_blog The id of the blog you want to switch to. Default: current blog - * @param bool $deprecated Depecreated argument - * @return bool True on success, False if the validation failed + * @param bool $deprecated Deprecated argument + * @return bool True on success, false if the validation failed */ function switch_to_blog( $new_blog, $deprecated = null ) { global $wpdb, $wp_roles; @@ -510,7 +510,7 @@ function switch_to_blog( $new_blog, $deprecated = null ) { * @see switch_to_blog() * @since MU * - * @return bool True on success, False if we're already on the current blog + * @return bool True on success, false if we're already on the current blog */ function restore_current_blog() { global $wpdb, $wp_roles;