Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r47105 r47122  
    582582        /** This filter is documented in wp-includes/ms-blogs.php */
    583583        do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'restore' );
    584         // If we still have items in the switched stack, consider ourselves still 'switched'
     584        // If we still have items in the switched stack, consider ourselves still 'switched'.
    585585        $GLOBALS['switched'] = ! empty( $GLOBALS['_wp_switched_stack'] );
    586586        return true;
     
    617617    do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'restore' );
    618618
    619     // If we still have items in the switched stack, consider ourselves still 'switched'
     619    // If we still have items in the switched stack, consider ourselves still 'switched'.
    620620    $GLOBALS['switched'] = ! empty( $GLOBALS['_wp_switched_stack'] );
    621621
     
    761761
    762762    if ( ! empty( $deprecated ) ) {
    763         _deprecated_argument( __FUNCTION__, 'MU' ); // never used
     763        _deprecated_argument( __FUNCTION__, 'MU' ); // Never used.
    764764    }
    765765
Note: See TracChangeset for help on using the changeset viewer.