Make WordPress Core


Ignore:
Timestamp:
02/21/2023 04:37:03 PM (3 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-widget.php

    r54133 r55398  
    153153     * @since 2.8.0
    154154     *
    155      * @param string $id_base         Optional. Base ID for the widget, lowercase and unique. If left empty,
     155     * @param string $id_base         Base ID for the widget, lowercase and unique. If left empty,
    156156     *                                a portion of the widget's PHP class name will be used. Has to be unique.
    157157     * @param string $name            Name for the widget displayed on the configuration page.
     
    189189     * @see WP_Widget::__construct()
    190190     *
    191      * @param string $id_base         Optional. Base ID for the widget, lowercase and unique. If left empty,
     191     * @param string $id_base         Base ID for the widget, lowercase and unique. If left empty,
    192192     *                                a portion of the widget's PHP class name will be used. Has to be unique.
    193193     * @param string $name            Name for the widget displayed on the configuration page.
Note: See TracChangeset for help on using the changeset viewer.