diff --git a/includes/api/class-wc-rest-settings-controller.php b/includes/api/class-wc-rest-settings-controller.php index 467912eb72a..98cbc31f9b3 100644 --- a/includes/api/class-wc-rest-settings-controller.php +++ b/includes/api/class-wc-rest-settings-controller.php @@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) { * @version 2.7.0 * @since 2.7.0 */ -class WC_Rest_Settings_Controller extends WC_REST_Controller { +class WC_REST_Settings_Controller extends WC_REST_Controller { /** * WP REST API namespace/version. diff --git a/includes/api/class-wc-rest-settings-options-controller.php b/includes/api/class-wc-rest-settings-options-controller.php index 1e3fe20d0b8..ee993905efb 100644 --- a/includes/api/class-wc-rest-settings-options-controller.php +++ b/includes/api/class-wc-rest-settings-options-controller.php @@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) { * @version 2.7.0 * @since 2.7.0 */ -class WC_Rest_Settings_Options_Controller extends WC_REST_Controller { +class WC_REST_Settings_Options_Controller extends WC_REST_Controller { /** * WP REST API namespace/version. diff --git a/includes/class-wc-api.php b/includes/class-wc-api.php index a33b0054886..41587e21343 100644 --- a/includes/class-wc-api.php +++ b/includes/class-wc-api.php @@ -196,8 +196,8 @@ class WC_API extends WC_Legacy_API { 'WC_REST_Report_Sales_Controller', 'WC_REST_Report_Top_Sellers_Controller', 'WC_REST_Reports_Controller', - 'WC_Rest_Settings_Controller', - 'WC_Rest_Settings_Options_Controller', + 'WC_REST_Settings_Controller', + 'WC_REST_Settings_Options_Controller', 'WC_REST_Tax_Classes_Controller', 'WC_REST_Taxes_Controller', 'WC_REST_Webhook_Deliveries_Controller',