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. git-svn-id: https://develop.svn.wordpress.org/trunk@35534 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a9820238a
commit
228aeddd1f
@ -1002,7 +1002,7 @@ final class WP_Customize_Manager {
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @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 ) {
|
||||
$new_settings = array();
|
||||
|
Loading…
Reference in New Issue
Block a user