Changeset 1354

Show
Ignore:
Timestamp:
07/07/08 15:35:43 (5 months ago)
Author:
donncha
Message:

Only check the nonce on the signup page

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/wpmu-functions.php

    r1353 r1354  
    19311931 
    19321932function signup_nonce_check( $result ) { 
     1933        if( !strpos( $_SERVER[ 'PHP_SELF' ], 'wp-signup.php' ) ) 
     1934                return $result; 
     1935 
    19331936        if ( wp_create_nonce('signup_form_' . $_POST[ 'signup_form_id' ]) != $_POST['_signup_form'] ) 
    19341937                wp_die( 'Please try again!' );