diff --git a/plugins/woocommerce/client/admin/config/core.json b/plugins/woocommerce/client/admin/config/core.json index 22d17476ca6..2597d9002a3 100644 --- a/plugins/woocommerce/client/admin/config/core.json +++ b/plugins/woocommerce/client/admin/config/core.json @@ -27,7 +27,6 @@ "payment-gateway-suggestions": true, "printful": false, "settings": true, - "settings-refresh": false, "shipping-label-banner": true, "subscriptions": true, "store-alerts": true, diff --git a/plugins/woocommerce/client/admin/config/development.json b/plugins/woocommerce/client/admin/config/development.json index 9c40346bd51..4343f131c6c 100644 --- a/plugins/woocommerce/client/admin/config/development.json +++ b/plugins/woocommerce/client/admin/config/development.json @@ -27,7 +27,6 @@ "remote-inbox-notifications": true, "remote-free-extensions": true, "settings": false, - "settings-refresh": false, "shipping-label-banner": true, "subscriptions": true, "store-alerts": true, diff --git a/plugins/woocommerce/src/Admin/Features/Features.php b/plugins/woocommerce/src/Admin/Features/Features.php index 330a33cb906..b324913e5eb 100644 --- a/plugins/woocommerce/src/Admin/Features/Features.php +++ b/plugins/woocommerce/src/Admin/Features/Features.php @@ -27,7 +27,7 @@ class Features { */ protected static $optional_features = array( 'navigation' => array( 'default' => 'no' ), - 'settings' => array( 'default' => 'no' ), + // 'settings' => array( 'default' => 'no' ), 'analytics' => array( 'default' => 'yes' ), 'remote-inbox-notifications' => array( 'default' => 'yes' ), ); @@ -353,7 +353,6 @@ class Features { 'Automattic\WooCommerce\Internal\Admin\Marketing' => 'Automattic\WooCommerce\Admin\Features\Marketing', 'Automattic\WooCommerce\Internal\Admin\MobileAppBanner' => 'Automattic\WooCommerce\Admin\Features\MobileAppBanner', 'Automattic\WooCommerce\Internal\Admin\RemoteInboxNotifications' => 'Automattic\WooCommerce\Admin\Features\RemoteInboxNotifications', - 'Automattic\WooCommerce\Internal\Admin\SettingsNavigationFeature' => 'Automattic\WooCommerce\Admin\Features\Settings', 'Automattic\WooCommerce\Internal\Admin\ShippingLabelBanner' => 'Automattic\WooCommerce\Admin\Features\ShippingLabelBanner', 'Automattic\WooCommerce\Internal\Admin\ShippingLabelBannerDisplayRules' => 'Automattic\WooCommerce\Admin\Features\ShippingLabelBannerDisplayRules', 'Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage' => 'Automattic\WooCommerce\Admin\Features\WcPayWelcomePage', diff --git a/plugins/woocommerce/src/Internal/Admin/SettingsNavigationFeature.php b/plugins/woocommerce/src/Admin/Features/Settings.php similarity index 98% rename from plugins/woocommerce/src/Internal/Admin/SettingsNavigationFeature.php rename to plugins/woocommerce/src/Admin/Features/Settings.php index 49a14b96b28..cb4ffc4a1d2 100644 --- a/plugins/woocommerce/src/Internal/Admin/SettingsNavigationFeature.php +++ b/plugins/woocommerce/src/Admin/Features/Settings.php @@ -3,14 +3,14 @@ * WooCommerce Settings. */ -namespace Automattic\WooCommerce\Internal\Admin; + namespace Automattic\WooCommerce\Admin\Features; use Automattic\WooCommerce\Admin\PageController; /** * Contains backend logic for the Settings feature. */ -class SettingsNavigationFeature { +class Settings { /** * Option name used to toggle this feature. */ diff --git a/plugins/woocommerce/src/Admin/Features/SettingsRefresh.php b/plugins/woocommerce/src/Admin/Features/SettingsRefresh.php deleted file mode 100644 index 7394cc1ecf3..00000000000 --- a/plugins/woocommerce/src/Admin/Features/SettingsRefresh.php +++ /dev/null @@ -1,15 +0,0 @@ -