We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 975507b commit fe4cbbfCopy full SHA for fe4cbbf
includes/classes/class-form-submit.php
@@ -95,7 +95,7 @@ public function __construct() {
95
*/
96
protected function valid_submission() {
97
98
- if ( ! isset( $_POST['pf-nonce'] ) || false === wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['pf-nonce'] ) ) ) ) {
+ if ( ! isset( $_POST['pf-nonce'] ) || false === wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['pf-nonce'] ) ), 'pff-paystack-invoice' ) ) {
99
$this->response['result'] = 'failed';
100
$this->response['message'] = __( 'Nonce verification is required.', 'pff-paystack' );
101
return false;
0 commit comments