Customize: Correct phpdoc `@return` type for `WP_Customize_Manager::add_dynamic_settings()`.
Fixes regression in [32032], where `WP_Customize_Setting[]` should have been changed to `array` instead of `WP_Customize_Setting`. See #31888. Built from https://develop.svn.wordpress.org/trunk@35534 git-svn-id: http://core.svn.wordpress.org/trunk@35498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84c8243514
commit
e0ac4e4d05
|
@ -1002,7 +1002,7 @@ final class WP_Customize_Manager {
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*
|
*
|
||||||
* @param array $setting_ids The setting IDs to add.
|
* @param array $setting_ids The setting IDs to add.
|
||||||
* @return WP_Customize_Setting The settings added.
|
* @return array The WP_Customize_Setting objects added.
|
||||||
*/
|
*/
|
||||||
public function add_dynamic_settings( $setting_ids ) {
|
public function add_dynamic_settings( $setting_ids ) {
|
||||||
$new_settings = array();
|
$new_settings = array();
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta3-35533';
|
$wp_version = '4.4-beta3-35534';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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