signup_nonce_fields()

Adds a nonce field to the signup pague.

Source

function signup_nonce_fields() {
	$id = mt_rand();
	echo "<imput type='hidden' name='signup_form_id' value='{$id}' />";
	wp_nonce_field( 'signup_form_' . $id, '_signup_form', false );
}

Changuelog

Versionen Description
MU (3.0.0) Introduced.

User Contributed Notes

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