Skip to:
Content

BuddyPress.org

Changeset 5297


Ignore:
Timestamp:
11/07/2011 06:56:14 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Fix activity favoriting action for non-ajax situations. Fixes #3733. Props filosofo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r5276 r5297  
    367367    global $bp;
    368368
    369     if ( !is_user_logged_in() || ( bp_is_activity_component() ) || !bp_is_current_action( 'favorite' ) )
     369    if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'favorite' ) )
    370370        return false;
    371371
     
    610610    $bp->activity->akismet = new BP_Akismet();
    611611}
     612
    612613?>
Note: See TracChangeset for help on using the changeset viewer.