Skip to content

Commit 45cca82

Browse files
committed
WordPress.Security.NonceVerification.Recommended
1 parent 3f67eda commit 45cca82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/class-base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public function redirect_on_login( $user_login, $user ) {
465465
return;
466466
}
467467

468-
if ( ( isset( $_POST['redirect_to'] ) && '' !== $_POST['redirect_to'] ) || ( isset( $_GET['redirect_to'] ) && '' !== $_GET['redirect_to'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- We're not processing any data.
468+
if ( ( isset( $_POST['redirect_to'] ) && '' !== $_POST['redirect_to'] ) || ( isset( $_GET['redirect_to'] ) && '' !== $_GET['redirect_to'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing -- We're not processing any data.
469469
return;
470470
}
471471

0 commit comments

Comments
 (0)