From 1d9bed1b5dafdc341affbafa24e3660caaeb8b3e Mon Sep 17 00:00:00 2001 From: Vedanshu Jain Date: Mon, 10 Jul 2023 12:15:07 +0530 Subject: [PATCH] Fix notice. --- plugins/woocommerce/src/Internal/Admin/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/src/Internal/Admin/Settings.php b/plugins/woocommerce/src/Internal/Admin/Settings.php index 84664a4f8ac..a7fea003b60 100644 --- a/plugins/woocommerce/src/Internal/Admin/Settings.php +++ b/plugins/woocommerce/src/Internal/Admin/Settings.php @@ -251,7 +251,7 @@ class Settings { foreach ( array_keys( $features ) as $feature_id ) { $new_features[ $feature_id ] = array( 'is_enabled' => $features[ $feature_id ]['is_enabled'], - 'is_experimental' => $features[ $feature_id ]['is_experimental'], + 'is_experimental' => $features[ $feature_id ]['is_experimental'] ?? false, ); }