diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
index ebc699436d..e278d53ac6 100644
|
|
function signup_nonce_check( $result ) { |
2193 | 2193 | return $result; |
2194 | 2194 | } |
2195 | 2195 | |
2196 | | if ( wp_create_nonce( 'signup_form_' . $_POST['signup_form_id'] ) != $_POST['_signup_form'] ) { |
2197 | | wp_die( __( 'Please try again.' ) ); |
| 2196 | if ( ! wp_verify_nonce( $_POST['_signup_form'], 'signup_form_' . $_POST['signup_form_id'] ) ) { |
| 2197 | $result['errors']->add( 'nonce', __( 'Unable to submit this form, please try again.' ) ); |
2198 | 2198 | } |
2199 | 2199 | |
2200 | 2200 | return $result; |