WordPress.org

Make WordPress Core

Changeset 35955


Ignore:
Timestamp:
12/16/2015 05:38:46 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing summaries and @since versions to DocBlocks for the _get_display_callback(), _get_update_callback(), and _get_form_callback() methods in WP_Widget.

Introduced in [10764].

See #32246.

File:
1 edited

Legend:

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

    r35100 r35955  
    256256
    257257    /**
    258      * @return callback
     258     * Retrieves the widget display callback.
     259     *
     260     * @since 2.8.0
     261     *
     262     * @return callable Display callback.
    259263     */
    260264    public function _get_display_callback() {
    261265        return array($this, 'display_callback');
    262266    }
    263     /**
    264      * @return callback
     267
     268    /**
     269     * Retrieves the widget update callback.
     270     *
     271     * @since 2.8.0
     272     *
     273     * @return callable Update callback.
    265274     */
    266275    public function _get_update_callback() {
    267276        return array($this, 'update_callback');
    268277    }
    269     /**
    270      * @return callback
     278
     279    /**
     280     * Retrieves the form callback.
     281     *
     282     * @since 2.8.0
     283     *
     284     * @return callable Form callback.
    271285     */
    272286    public function _get_form_callback() {
Note: See TracChangeset for help on using the changeset viewer.