From 67fb26f7b2589fb84a7b3ef3731802a1fe388357 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: https://develop.svn.wordpress.org/trunk@21523 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;