| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | * Page renderer (called by EasyInvoiceAdmin::mainPageContent). |
| 30 | 30 | */ |
| 31 | 31 | public function display(): void { |
| 32 | 32 | if (!current_user_can('manage_options')) { |
| 33 | - wp_die(__('Sorry, you are not allowed to access this page.', 'easy-invoice')); | |
| 33 | + wp_die(esc_html__('Sorry, you are not allowed to access this page.', 'easy-invoice')); | |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | $addons = AddonRegistry::all(); |
| 37 | 37 | $current_plan = LicensePlanResolver::getCurrentPlan(); |