Make WordPress Core


Ignore:
Timestamp:
06/09/2020 03:35:10 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in WP_Widget::__construct() and ::WP_Widget() DocBlocks.

Props SUM1.
Fixes #50348.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-widget.php

    r47122 r47936  
    153153     *
    154154     * @param string $id_base         Optional Base ID for the widget, lowercase and unique. If left empty,
    155      *                                a portion of the widget's class name will be used Has to be unique.
     155     *                                a portion of the widget's class name will be used. Has to be unique.
    156156     * @param string $name            Name for the widget displayed on the configuration page.
    157      * @param array  $widget_options  Optional. Widget options. See wp_register_sidebar_widget() for information
    158      *                                on accepted arguments. Default empty array.
     157     * @param array  $widget_options  Optional. Widget options. See wp_register_sidebar_widget() for
     158     *                                information on accepted arguments. Default empty array.
    159159     * @param array  $control_options Optional. Widget control options. See wp_register_widget_control() for
    160160     *                                information on accepted arguments. Default empty array.
     
    183183     *
    184184     * @param string $id_base         Optional Base ID for the widget, lowercase and unique. If left empty,
    185      *                                a portion of the widget's class name will be used Has to be unique.
     185     *                                a portion of the widget's class name will be used. Has to be unique.
    186186     * @param string $name            Name for the widget displayed on the configuration page.
    187      * @param array  $widget_options  Optional. Widget options. See wp_register_sidebar_widget() for information
    188      *                                on accepted arguments. Default empty array.
     187     * @param array  $widget_options  Optional. Widget options. See wp_register_sidebar_widget() for
     188     *                                information on accepted arguments. Default empty array.
    189189     * @param array  $control_options Optional. Widget control options. See wp_register_widget_control() for
    190190     *                                information on accepted arguments. Default empty array.
Note: See TracChangeset for help on using the changeset viewer.