Make WordPress Core

Changeset 21523


Ignore:
Timestamp:
08/15/2012 03:56:14 PM (12 years ago)
Author:
ryan
Message:

Fix phpdoc for switch_to_blog() and restore_current_blog(). Props SergeyBiryukov. fixes #21459

File:
1 edited

Legend:

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

    r21485 r21523  
    447447 *
    448448 * @param int $new_blog The id of the blog you want to switch to. Default: current blog
    449  * @param bool $deprecated Depecreated argument
    450  * @return bool True on success, False if the validation failed
     449 * @param bool $deprecated Deprecated argument
     450 * @return bool True on success, false if the validation failed
    451451 */
    452452function switch_to_blog( $new_blog, $deprecated = null ) {
     
    511511 * @since MU
    512512 *
    513  * @return bool True on success, False if we're already on the current blog
     513 * @return bool True on success, false if we're already on the current blog
    514514 */
    515515function restore_current_blog() {
Note: See TracChangeset for help on using the changeset viewer.