From 26e2d17f269fe37c6819550ec363dd00bff1aabd Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Sun, 5 Jun 2016 15:32:46 -0300 Subject: [PATCH] Missing period --- includes/api/class-wc-rest-product-attributes-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/class-wc-rest-product-attributes-controller.php b/includes/api/class-wc-rest-product-attributes-controller.php index 3219ffa54a6..f397719adc7 100644 --- a/includes/api/class-wc-rest-product-attributes-controller.php +++ b/includes/api/class-wc-rest-product-attributes-controller.php @@ -147,7 +147,7 @@ class WC_REST_Product_Attributes_Controller extends WC_REST_Controller { } if ( ! wc_rest_check_manager_permissions( 'attributes', 'read' ) ) { - return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot view this resource', 'woocommerce' ), array( 'status' => rest_authorization_required_code() ) ); + return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot view this resource.', 'woocommerce' ), array( 'status' => rest_authorization_required_code() ) ); } return true;