| @@ -156,9 +156,9 @@ | ||
| 156 | 156 | public function export_template( $id ) { |
| 157 | 157 | $data = $this->get_app()->get_resource( [ 'id' => $id ] ); |
| 158 | 158 | |
| 159 | 159 | if ( is_wp_error( $data ) ) { |
| 160 | - return new \WP_Error( 'export_template_error', 'An error has occurred' ); | |
| 160 | + return new \WP_Error( 'export_template_error', 'An error has occured' ); | |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | if ( static::TEMPLATE_RESOURCE_TYPE === $data['type'] ) { |
| 164 | 164 | $this->handle_export_file( $data ); |