| @@ -303,9 +303,9 @@ | ||
| 303 | 303 | if ( get_post_type( $post_id ) !== QuoteRequestCPT::POST_TYPE ) { |
| 304 | 304 | return; |
| 305 | 305 | } |
| 306 | 306 | |
| 307 | - if ( ! isset( $_POST['tier_pricing_table_quote_nonce'] ) || ! wp_verify_nonce( $_POST['tier_pricing_table_quote_nonce'], | |
| 307 | + if ( ! isset( $_POST['tier_pricing_table_quote_nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['tier_pricing_table_quote_nonce'] ) ), | |
| 308 | 308 | 'tier_pricing_table_quote_save_product' ) ) { |
| 309 | 309 | return; |
| 310 | 310 | } |
| 311 | 311 | |