Fix the return description for `switch_to_blog()` to reflect that it always returns true.

Props jeremyfelt.
Fixes #25328.


git-svn-id: https://develop.svn.wordpress.org/trunk@27347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
DrewAPicture 2014-03-02 04:40:02 +00:00
parent 3c5db72715
commit bfce74bcb1
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ function update_blog_option( $id, $option, $value, $deprecated = null ) {
*
* @param int $new_blog The id of the blog you want to switch to. Default: current blog
* @param bool $deprecated Deprecated argument
* @return bool True on success, false if the validation failed
* @return bool Always returns True.
*/
function switch_to_blog( $new_blog, $deprecated = null ) {
global $wpdb, $wp_roles;