| @@ -54,8 +54,9 @@ | ||
| 54 | 54 | // Include the template file |
| 55 | 55 | if (file_exists($template_path)) { |
| 56 | 56 | include $template_path; |
| 57 | 57 | } else { |
| 58 | - wp_die(sprintf(__('Template file not found: %s', 'easy-invoice'), $template_path)); | |
| 58 | + /* translators: %s: file path. */ | |
| 59 | + wp_die(esc_html(sprintf(__('Template file not found: %s', 'easy-invoice'), $template_path))); | |
| 59 | 60 | } |
| 60 | 61 | } |
| 61 | 62 | } |