WordPress.org

Make WordPress Core

Ticket #35791: 35791-docfix.diff

File 35791-docfix.diff, 746 bytes (added by flixos90, 3 years ago)
  • src/wp-includes/ms-blogs.php

     
    479479 *
    480480 * @global WP_Site $current_blog The current site.
    481481 *
    482  * @param WP_Site|int $site Site to retrieve.
    483  * @return WP_Site|array|null Depends on $output value.
     482 * @param WP_Site|int|null $site Site to retrieve.
     483 * @return WP_Site|null The site object or null if not found.
    484484 */
    485485function get_site( &$site = null ) {
    486486        global $current_blog;
     
    505505         *
    506506         * @since 4.6.0
    507507         *
    508          * @param mixed $_site Site data.
     508         * @param WP_Site $_site Site data.
    509509         */
    510510        $_site = apply_filters( 'get_site', $_site );
    511511