Skip to:
Content

BuddyPress.org

Changeset 1537


Ignore:
Timestamp:
06/10/2009 08:03:23 PM (17 years ago)
Author:
apeatling
Message:

Making sure signup cookies are not cleared on AJAX calls, to avoid header issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-signup.php

    r1530 r1537  
    22
    33function xprofile_clear_signup_cookie() {
    4     if ( $_POST['stage'] != 'validate-blog-signup' && $_POST['stage'] != 'validate-user-signup' )
     4    if ( !isset( $_REQUEST['action'] ) && $_POST['stage'] != 'validate-blog-signup' && $_POST['stage'] != 'validate-user-signup' )
    55        setcookie( 'bp_xprofile_meta', false, time()-1000, COOKIEPATH );
    66}
Note: See TracChangeset for help on using the changeset viewer.