Add parameter and return descriptions for `WP_Customize_Widgets->get_setting_type()`.
See [31370]. See #31888. git-svn-id: https://develop.svn.wordpress.org/trunk@32035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1f3341f11a
commit
efaab521f9
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue