From afdf0fdedc79f64ff2b205d0e0b1a1d6eeaed20e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 5 Apr 2015 15:36:26 +0000 Subject: [PATCH] Add missing parameter and return descriptions to `WP_Customize_Widgets->filter_customize_dynamic_setting_args()`. See [31370]. See #31888. Built from https://develop.svn.wordpress.org/trunk@32036 git-svn-id: http://core.svn.wordpress.org/trunk@32015 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-widgets.php | 8 +++++--- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 42cc7ab583..966c853f9c 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -128,6 +128,7 @@ final class WP_Customize_Widgets { * Inspect the incoming customized data for any widget settings, and dynamically add them up-front so widgets will be initialized properly. * * @since 4.2.0 + * @access public */ public function register_settings() { $widget_setting_ids = array(); @@ -159,10 +160,11 @@ final class WP_Customize_Widgets { * Determine the arguments for a dynamically-created setting. * * @since 4.2.0 + * @access public * - * @param false|array $args - * @param string $setting_id - * @return false|array + * @param false|array $setting_args The arguments to the WP_Customize_Setting constructor. + * @param string $setting_id ID for dynamic setting, usually coming from `$_POST['customized']`. + * @return false|array Setting arguments, false otherwise. */ public function filter_customize_dynamic_setting_args( $args, $setting_id ) { if ( $this->get_setting_type( $setting_id ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7c1194d51a..c34ee524be 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta4-32035'; +$wp_version = '4.2-beta4-32036'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.