Make WordPress Core

Changeset 27347


Ignore:
Timestamp:
03/02/2014 04:40:02 AM (11 years ago)
Author:
DrewAPicture
Message:

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

Props jeremyfelt.
Fixes #25328.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r26502 r27347  
    570570 * @param int $new_blog The id of the blog you want to switch to. Default: current blog
    571571 * @param bool $deprecated Deprecated argument
    572  * @return bool True on success, false if the validation failed
     572 * @return bool Always returns True.
    573573 */
    574574function switch_to_blog( $new_blog, $deprecated = null ) {
Note: See TracChangeset for help on using the changeset viewer.