From 4ced4fce3a6de64269d0a140bcb7f05e78c2070c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 05:39:25 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@35955 git-svn-id: http://core.svn.wordpress.org/trunk@35919 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-widget.php | 20 +++++++++++++++++--- wp-includes/version.php | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-widget.php b/wp-includes/class-wp-widget.php index 17f79385ce..a99568d6f4 100644 --- a/wp-includes/class-wp-widget.php +++ b/wp-includes/class-wp-widget.php @@ -255,19 +255,33 @@ class WP_Widget { } /** - * @return callback + * Retrieves the widget display callback. + * + * @since 2.8.0 + * + * @return callable Display callback. */ public function _get_display_callback() { return array($this, 'display_callback'); } + /** - * @return callback + * Retrieves the widget update callback. + * + * @since 2.8.0 + * + * @return callable Update callback. */ public function _get_update_callback() { return array($this, 'update_callback'); } + /** - * @return callback + * Retrieves the form callback. + * + * @since 2.8.0 + * + * @return callable Form callback. */ public function _get_form_callback() { return array($this, 'form_callback'); diff --git a/wp-includes/version.php b/wp-includes/version.php index 67de27ffba..1c682e016c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35954'; +$wp_version = '4.5-alpha-35955'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.