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
This commit is contained in:
Drew Jaynes 2015-12-16 05:39:25 +00:00
parent 2dda796547
commit 4ced4fce3a
2 changed files with 18 additions and 4 deletions

View File

@ -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');

View File

@ -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.