We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a72656 + 575f90d commit 567808dCopy full SHA for 567808d
inc/types/class-base.php
@@ -70,7 +70,7 @@ public function handle_authorisation() {
70
71
// Check nonce.
72
$nonce_action = $this->get_nonce_action( $client );
73
- if ( ! wp_verify_nonce( wp_unslash( $_POST['_wpnonce'] ), $none_action ) ) {
+ if ( ! wp_verify_nonce( wp_unslash( $_POST['_wpnonce'] ), $nonce_action ) ) {
74
return new WP_Error(
75
'oauth2.types.authorization_code.handle_authorisation.invalid_nonce',
76
__( 'Invalid nonce.', 'oauth2' )
0 commit comments