wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
signup_nonce_check › WordPress Function
Da
Deprecaton/a
› signup_nonce_check ( $result )
Parametri: |
|
Ritorna: |
|
Definito a: |
|
Codex: | |
ChangeLog: |
|
Processes the signup nonce created in signup_nonce_fields().
Funzioni correlate: signup_nonce_fields, wp_nonce_tick, wp_version_check, signup_another_blog, ms_site_check
Sorgenti
function signup_nonce_check( $result ) { if ( ! strpos( $_SERVER['PHP_SELF'], 'wp-signup.php' ) ) { return $result; } if ( ! wp_verify_nonce( $_POST['_signup_form'], 'signup_form_' . $_POST['signup_form_id'] ) ) { $result['errors']->add( 'invalid_nonce', __( 'Unable to submit this form, please try again.' ) ); } return $result; }