mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Add parameter and return descriptions for WP_Customize_Widgets->get_setting_type()
.
See [31370]. See #31888. Built from https://develop.svn.wordpress.org/trunk@32035 git-svn-id: http://core.svn.wordpress.org/trunk@32014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d483e3a32a
commit
eb7d4e9c31
@ -105,10 +105,10 @@ final class WP_Customize_Widgets {
|
|||||||
* Get the widget setting type given a setting ID.
|
* Get the widget setting type given a setting ID.
|
||||||
*
|
*
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param $setting_id
|
* @param $setting_id Setting ID.
|
||||||
*
|
* @return string|null Setting type. Null otherwise.
|
||||||
* @return string|null
|
|
||||||
*/
|
*/
|
||||||
protected function get_setting_type( $setting_id ) {
|
protected function get_setting_type( $setting_id ) {
|
||||||
static $cache = array();
|
static $cache = array();
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta4-32034';
|
$wp_version = '4.2-beta4-32035';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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