fixes typo 'you cannot be update'.

This commit is contained in:
mateuswetah 2020-05-27 10:55:29 -03:00
parent 8d12da2ad4
commit 092f5df153
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ class REST_Item_Metadata_Controller extends REST_Controller {
}
else {
return new \WP_REST_Response( [
'error_message' => __( 'you can not be update the item', 'tainacan' ),
'error_message' => __( 'you are not allowed to update the item', 'tainacan' ),
'errors' => "operation not permitted"
], 400 );
}