We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f994dd5 commit d139651Copy full SHA for d139651
modules/notifications/notifications.php
@@ -516,7 +516,7 @@ public function handle_user_post_subscription() {
516
public function save_post_subscriptions( $new_status, $old_status, $post ) {
517
global $edit_flow;
518
519
- if ( ! empty( $_GET['_wpnonce'] ) && ! wp_verify_nonce( $_GET['_wpnonce'], 'editpost' ) ) {
+ if ( ! empty( $_POST['_wpnonce'] ) && ! wp_verify_nonce( $_POST['_wpnonce'], 'editpost' ) ) {
520
$this->print_ajax_response( 'error', $this->module->messages['nonce-failed'] );
521
}
522
0 commit comments