Make WordPress Core


Ignore:
Timestamp:
12/17/2015 05:22:40 PM (8 years ago)
Author:
DrewAPicture
Message:

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

See #32246.

File:
1 edited

Legend:

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

    r35990 r35991  
    544544
    545545/**
     546 * Registers the form callback for a widget.
     547 *
     548 * @since 2.8.0
    546549 *
    547550 * @global array $wp_registered_widget_controls
    548551 *
    549  * @param int|string $id
    550  * @param string     $name
    551  * @param callable   $form_callback
    552  * @param array      $options
     552 * @param int|string $id            Widget ID.
     553 * @param string     $name          Name attribute for the widget.
     554 * @param callable   $form_callback Form callback.
     555 * @param array      $options       Optional. Widget control options. See {@see wp_register_widget_control()}.
     556 *                                  Default empty array.
    553557 */
    554558function _register_widget_form_callback($id, $name, $form_callback, $options = array()) {
Note: See TracChangeset for help on using the changeset viewer.