Update class-tainacan-rest-exporters-controller.php
spelling
This commit is contained in:
parent
7e62664752
commit
63006bcfc4
|
@ -187,7 +187,7 @@ class REST_Exporters_Controller extends REST_Controller {
|
|||
}
|
||||
|
||||
return new \WP_REST_Response([
|
||||
'error_message' => __('The body can not be empty', 'tainacan'),
|
||||
'error_message' => __('The body cannot be empty', 'tainacan'),
|
||||
'body' => $body
|
||||
], 400);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue