Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/14/2011 02:42:23 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Correctly check for WP_Error and correctly load anonymous user cookie data/avatar. Fixes #1452. Props GautamGupta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-topic-functions.php

    r2790 r2803  
    6262            $topic_author   = 0;
    6363
    64             if ( !is_wp_error( $bbp->errors ) )
     64            if ( !empty( $anonymous_data ) && is_array( $anonymous_data ) )
    6565                bbp_set_current_anonymous_user_data( $anonymous_data );
    6666        }
Note: See TracChangeset for help on using the changeset viewer.