WordPress.org

Make WordPress Core

Ticket #45061: 45061.0.diff

File 45061.0.diff, 739 bytes (added by codemascot, 14 months ago)

wp_insert_site() Documentation Update

  • src/wp-includes/ms-blogs.php

    diff --git a/src/wp-includes/ms-blogs.php b/src/wp-includes/ms-blogs.php
    index 21d0820920..2c2d4cf02b 100644
    a b function clean_site_details_cache( $site_id = 0 ) { 
    420420 *     @type int    $spam         Whether the site is spam. Default 0.
    421421 *     @type int    $deleted      Whether the site is deleted. Default 0.
    422422 *     @type int    $lang_id      The site's language ID. Currently unused. Default 0.
     423 *     @type int    $site_id      The site ID.
     424 *     @type int    $user_id      The user ID.
     425 *     @type array  $options      The site's options or meta.
    423426 * }
    424427 * @return int|WP_Error The new site's ID on success, or error object on failure.
    425428 */