Make WordPress Core

Changeset 37063


Ignore:
Timestamp:
03/23/2016 04:50:26 AM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Use third-person singular verbs for method summaries in WP_Widget_Factory.

Fixes #36299.

File:
1 edited

Legend:

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

    r37062 r37063  
    4747
    4848    /**
    49      * Register a widget subclass.
     49     * Registers a widget subclass.
    5050     *
    5151     * @since 2.8.0
    5252     * @access public
    5353     *
    54      * @param string $widget_class The name of a {@see WP_Widget} subclass.
     54     * @param string $widget_class The name of a WP_Widget subclass.
    5555     */
    5656    public function register( $widget_class ) {
     
    5959
    6060    /**
    61      * Un-register a widget subclass.
     61     * Un-registers a widget subclass.
    6262     *
    6363     * @since 2.8.0
    6464     * @access public
    6565     *
    66      * @param string $widget_class The name of a {@see WP_Widget} subclass.
     66     * @param string $widget_class The name of a WP_Widget subclass.
    6767     */
    6868    public function unregister( $widget_class ) {
     
    7171
    7272    /**
    73      * Utility method for adding widgets to the registered widgets global.
     73     * Serves as a utility method for adding widgets to the registered widgets global.
    7474     *
    7575     * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.