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/class-wp-editor.php

    r55276 r55398  
    14521452     * @param string $mce_locale The locale used for the editor.
    14531453     * @param bool   $json_only  Optional. Whether to include the JavaScript calls to tinymce.addI18n() and
    1454      *                           tinymce.ScriptLoader.markDone().
     1454     *                           tinymce.ScriptLoader.markDone(). Default false.
    14551455     * @return string Translation object, JSON encoded.
    14561456     */
     
    17521752     * @since 3.1.0
    17531753     *
    1754      * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments.
     1754     * @param array $args {
     1755     *     Optional. Array of link query arguments.
     1756     *
     1757     *     @type int    $pagenum Page number. Default 1.
     1758     *     @type string $s       Search keywords.
     1759     * }
    17551760     * @return array|false $results {
    17561761     *     An array of associative arrays of query results, false if there are none.
Note: See TracChangeset for help on using the changeset viewer.