| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | } else { |
| 16 | 16 | FrmFormsHelper::maybe_get_scroll_js( $form->id ); |
| 17 | 17 | |
| 18 | 18 | // we need to allow scripts here for javascript in the success message |
| 19 | - echo FrmAppHelper::maybe_kses( $message ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 19 | + echo $message; // WPCS: XSS ok. | |
| 20 | 20 | } |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | if ( isset( $errors ) && is_array( $errors ) && ! empty( $errors ) ) { |