We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f994dd5 + d139651 commit 81ceb1fCopy full SHA for 81ceb1f
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