Add missing parameter and return descriptions to `WP_Customize_Widgets->filter_customize_dynamic_setting_args()`.

See [31370]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32036 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-04-05 15:35:22 +00:00
parent efaab521f9
commit a4d03d360a
1 changed files with 5 additions and 3 deletions

View File

@ -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 ) ) {