signup_nonce_check( array $result )

Process the signup nonce created in signup_nonce_fields().


Description Description


Parameters Parameters

$result

(array) (Required)


Top ↑

Return Return

(array)


Top ↑

Source Source

File: wp-includes/ms-functions.php

function signup_nonce_check( $result ) {
	if ( !strpos( $_SERVER[ 'PHP_SELF' ], 'wp-signup.php' ) )
		return $result;

	if ( wp_create_nonce('signup_form_' . $_POST[ 'signup_form_id' ]) != $_POST['_signup_form'] )
		wp_die( __( 'Please try again.' ) );

	return $result;
}

Top ↑

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.