Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




signup_nonce_check [ WordPress Function ]

signup_nonce_check ( $result )
Parameters:
  • (array) $result
Uses:
Returns:
  • (array)
Defined at:



Process the signup nonce created in signup_nonce_fields().

Source


<?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;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics