Fix setting class case. REST should be uppercase.

This commit is contained in:
Justin Shreve 2016-07-26 14:33:55 -07:00
parent ef2715b237
commit 1d4615aee3
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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',