← All changes
|
square/controllers/FrmSquareLiteSettingsController.php
+1
-1
6.28
→
trunk
View file →
| @@ -51,8 +51,8 @@ | ||
| 51 | 51 | */ |
| 52 | 52 | public static function process_form() { |
| 53 | 53 | $settings = FrmSquareLiteAppHelper::get_settings(); |
| 54 | 54 | // phpcs:ignore WordPress.Security.NonceVerification.Missing |
| 55 | - $settings->update( $_POST ); | |
| 55 | + $settings->update( wp_unslash( $_POST ) ); | |
| 56 | 56 | $settings->store(); |
| 57 | 57 | } |
| 58 | 58 | } |