Missing period
This commit is contained in:
parent
83a843a706
commit
26e2d17f26
|
@ -147,7 +147,7 @@ class WC_REST_Product_Attributes_Controller extends WC_REST_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! wc_rest_check_manager_permissions( 'attributes', 'read' ) ) {
|
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;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue