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

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35991


git-svn-id: http://core.svn.wordpress.org/trunk@35956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-17 17:23:26 +00:00
parent c13824b1c0
commit 94575687b9
2 changed files with 9 additions and 5 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-35990';
$wp_version = '4.5-alpha-35991';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -543,13 +543,17 @@ function _register_widget_update_callback( $id_base, $update_callback, $options
}
/**
* Registers the form callback for a widget.
*
* @since 2.8.0
*
* @global array $wp_registered_widget_controls
*
* @param int|string $id
* @param string $name
* @param callable $form_callback
* @param array $options
* @param int|string $id Widget ID.
* @param string $name Name attribute for the widget.
* @param callable $form_callback Form callback.
* @param array $options Optional. Widget control options. See {@see wp_register_widget_control()}.
* Default empty array.
*/
function _register_widget_form_callback($id, $name, $form_callback, $options = array()) {
global $wp_registered_widget_controls;