reuse the old

This commit is contained in:
paul sealock 2024-05-28 17:53:52 +12:00
parent 581f0b8d8c
commit 532742fe59
5 changed files with 3 additions and 21 deletions

View File

@ -27,7 +27,6 @@
"payment-gateway-suggestions": true, "payment-gateway-suggestions": true,
"printful": false, "printful": false,
"settings": true, "settings": true,
"settings-refresh": false,
"shipping-label-banner": true, "shipping-label-banner": true,
"subscriptions": true, "subscriptions": true,
"store-alerts": true, "store-alerts": true,

View File

@ -27,7 +27,6 @@
"remote-inbox-notifications": true, "remote-inbox-notifications": true,
"remote-free-extensions": true, "remote-free-extensions": true,
"settings": false, "settings": false,
"settings-refresh": false,
"shipping-label-banner": true, "shipping-label-banner": true,
"subscriptions": true, "subscriptions": true,
"store-alerts": true, "store-alerts": true,

View File

@ -27,7 +27,7 @@ class Features {
*/ */
protected static $optional_features = array( protected static $optional_features = array(
'navigation' => array( 'default' => 'no' ), 'navigation' => array( 'default' => 'no' ),
'settings' => array( 'default' => 'no' ), // 'settings' => array( 'default' => 'no' ),
'analytics' => array( 'default' => 'yes' ), 'analytics' => array( 'default' => 'yes' ),
'remote-inbox-notifications' => 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\Marketing' => 'Automattic\WooCommerce\Admin\Features\Marketing',
'Automattic\WooCommerce\Internal\Admin\MobileAppBanner' => 'Automattic\WooCommerce\Admin\Features\MobileAppBanner', 'Automattic\WooCommerce\Internal\Admin\MobileAppBanner' => 'Automattic\WooCommerce\Admin\Features\MobileAppBanner',
'Automattic\WooCommerce\Internal\Admin\RemoteInboxNotifications' => 'Automattic\WooCommerce\Admin\Features\RemoteInboxNotifications', '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\ShippingLabelBanner' => 'Automattic\WooCommerce\Admin\Features\ShippingLabelBanner',
'Automattic\WooCommerce\Internal\Admin\ShippingLabelBannerDisplayRules' => 'Automattic\WooCommerce\Admin\Features\ShippingLabelBannerDisplayRules', 'Automattic\WooCommerce\Internal\Admin\ShippingLabelBannerDisplayRules' => 'Automattic\WooCommerce\Admin\Features\ShippingLabelBannerDisplayRules',
'Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage' => 'Automattic\WooCommerce\Admin\Features\WcPayWelcomePage', 'Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage' => 'Automattic\WooCommerce\Admin\Features\WcPayWelcomePage',

View File

@ -3,14 +3,14 @@
* WooCommerce Settings. * WooCommerce Settings.
*/ */
namespace Automattic\WooCommerce\Internal\Admin; namespace Automattic\WooCommerce\Admin\Features;
use Automattic\WooCommerce\Admin\PageController; use Automattic\WooCommerce\Admin\PageController;
/** /**
* Contains backend logic for the Settings feature. * Contains backend logic for the Settings feature.
*/ */
class SettingsNavigationFeature { class Settings {
/** /**
* Option name used to toggle this feature. * Option name used to toggle this feature.
*/ */

View File

@ -1,15 +0,0 @@
<?php
namespace Automattic\WooCommerce\Admin\Features;
/**
* New Settings refresh.
*/
class SettingsRefresh {
/**
* Constructor.
*/
public function __construct() {
// print_r( 'This is working' );
}
}