| @@ -237,9 +237,9 @@ | ||
| 237 | 237 | public static function handleDismissPromotion() { |
| 238 | 238 | check_ajax_referer('easy_invoice_promotion_nonce', 'nonce'); |
| 239 | 239 | |
| 240 | 240 | if (!current_user_can('manage_options')) { |
| 241 | - wp_die(__('You do not have sufficient permissions to access this page.', 'easy-invoice')); | |
| 241 | + wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'easy-invoice')); | |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | $dismiss_count = get_option('easy_invoice_promotion_dismiss_count', 0); |
| 245 | 245 | $dismiss_count++; |