Make WordPress Core


Ignore:
Timestamp:
02/21/2023 04:37:03 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document default values for optional parameters in various DocBlocks.

Props paulkevan, costdev, audrasjb, SergeyBiryukov.
See #56792.

File:
1 edited

Legend:

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

    r55148 r55398  
    121121 *
    122122 * @param int|string|array $fields  Optional. A blog ID, a blog slug, or an array of fields to query against.
    123  *                                  If not specified the current blog ID is used.
     123 *                                  Defaults to the current blog ID.
    124124 * @param bool             $get_all Whether to retrieve all details or only the details in the blogs table.
    125125 *                                  Default is true.
     
    398398 * @param int    $id     A blog ID. Can be null to refer to the current blog.
    399399 * @param string $option Name of option to add. Expected to not be SQL-escaped.
    400  * @param mixed  $value  Optional. Option value, can be anything. Expected to not be SQL-escaped.
     400 * @param mixed  $value  Option value, can be anything. Expected to not be SQL-escaped.
    401401 * @return bool True if the option was added, false otherwise.
    402402 */
Note: See TracChangeset for help on using the changeset viewer.