WordPress.org

Make WordPress Core

Ticket #21459: 21459.typo.patch

File 21459.typo.patch, 927 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/ms-blogs.php

     
    446446 * @since MU
    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 ) {
    453453        global $wpdb, $wp_roles;
     
    510510 * @see switch_to_blog()
    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() {
    516516        global $wpdb, $wp_roles;