Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnbent committed Mar 7, 2022
2 parents 8b537f1 + 930ba03 commit ce88a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Notice/YoastNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function check() {
}

if ( isset( $_REQUEST['wordproof_nonce'] ) ) {
if (wp_verify_nonce(wp_unslash($_GET['wordproof_nonce']), 'wordproof_notice')) {
if (wp_verify_nonce(sanitize_key($_REQUEST['wordproof_nonce']), 'wordproof_notice')) {
$this->handle();

deactivate_plugins(WORDPROOF_BASENAME, true);
Expand Down

0 comments on commit ce88a45

Please sign in to comment.