Fixed typo

This commit is contained in:
Claudio Sanches 2016-03-07 15:45:10 -03:00
parent 9f07be5271
commit 349b817d1e
15 changed files with 15 additions and 21 deletions

View File

@ -19,7 +19,7 @@ abstract class WC_REST_Posts_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Coupons_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Order_Notes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Orders_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.
@ -36,10 +36,4 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
*/
protected $rest_base = 'products/attributes/(?P<attribute_id>[\d]+)/terms';
/**
* Register the routes for product attribute terms.
*/
public function register_routes() {
}
}

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Attributes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Categories_Controller extends WC_REST_Terms_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Shipping_Classes_Controller extends WC_REST_Terms_Controll
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Tags_Controller extends WC_REST_Terms_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Products_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Reports_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Tax_Classes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Taxes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namepsace = 'wc/v1';
public $namespace = 'wc/v1';
/**
* Route base.