| @@ -38,8 +38,8 @@ | ||
| 38 | 38 | return new QuickUpdateProductStrategy(); |
| 39 | 39 | case 'custom_update': |
| 40 | 40 | return new CustomUpdateProductStrategy(); |
| 41 | 41 | default: |
| 42 | - throw new \InvalidArgumentException("Unknown strategy type: {$type}"); | |
| 42 | + throw new \InvalidArgumentException(esc_html("Unknown strategy type: {$type}")); | |
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | } |