diff --git a/wp-includes/version.php b/wp-includes/version.php index d3c454bafd..05e7adcf6a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 93d875b69d..9589d18b36 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -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;