Fix setting class case. REST should be uppercase.
This commit is contained in:
parent
ef2715b237
commit
1d4615aee3
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue