WordPress.org

Make WordPress Core

Changeset 35989


Ignore:
Timestamp:
12/17/2015 05:15:53 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing summary, @since version, and parameter descriptions to the DocBlock for _register_widget_update_callback().

Introduced in [10798].

See #32246.

File:
1 edited

Legend:

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

    r35864 r35989  
    514514
    515515/**
     516 * Registers the update callback for a widget.
     517 *
     518 * @since 2.8.0
     519 *
    516520 * @global array $wp_registered_widget_updates
    517521 *
    518  * @param string   $id_base
    519  * @param callable $update_callback
    520  * @param array    $options
    521  */
    522 function _register_widget_update_callback($id_base, $update_callback, $options = array()) {
     522 * @param string   $id_base         The base ID of a widget created by extending WP_Widget.
     523 * @param callable $update_callback Update callback method for the widget.
     524 * @param array    $options         Optional. Widget control options. See {@see wp_register_widget_control()}.
     525 *                                  Default empty array.
     526 */
     527function _register_widget_update_callback( $id_base, $update_callback, $options = array() ) {
    523528    global $wp_registered_widget_updates;
    524529
Note: See TracChangeset for help on using the changeset viewer.