mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-18 14:21:25 +01:00
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:
parent
2dda796547
commit
4ced4fce3a
@ -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() {
|
public function _get_display_callback() {
|
||||||
return array($this, '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() {
|
public function _get_update_callback() {
|
||||||
return array($this, '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() {
|
public function _get_form_callback() {
|
||||||
return array($this, 'form_callback');
|
return array($this, 'form_callback');
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user