| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | return $result; |
| 31 | 31 | } |
| 32 | 32 | public function nonce( $action, $nonce = '_wpnonce' ) { |
| 33 | 33 | if ( isset( $_REQUEST[ $nonce ] ) ) { |
| 34 | - $nonce = sanitize_text_field( wp_unslash( $_REQUEST[ $nonce ] ) ); | |
| 34 | + $nonce = $_REQUEST[ $nonce ]; | |
| 35 | 35 | } |
| 36 | 36 | return wp_verify_nonce( $nonce, $action ); |
| 37 | 37 | } |
| 38 | 38 | |