wp/wp-includes/class-wp-customize-setting.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
--- a/wp/wp-includes/class-wp-customize-setting.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/class-wp-customize-setting.php	Fri Sep 05 18:40:08 2025 +0200
@@ -17,6 +17,7 @@
  * @see WP_Customize_Manager
  * @link https://developer.wordpress.org/themes/customize-api
  */
+#[AllowDynamicProperties]
 class WP_Customize_Setting {
 	/**
 	 * Customizer bootstrap instance.
@@ -835,7 +836,7 @@
 			return false;
 		}
 
-		if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
+		if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
 			return false;
 		}