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
This commit is contained in:
Ryan Boren 2012-08-15 15:56:14 +00:00
parent 5f8ae64dd6
commit 411714ad68

View File

@ -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;