Ticket #3733: 3733.mark-favorite.diff
File 3733.mark-favorite.diff, 695 bytes (added by , 13 years ago) |
---|
-
bp-activity/bp-activity-actions.php
366 366 function bp_activity_action_mark_favorite() { 367 367 global $bp; 368 368 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' ) ) 370 370 return false; 371 371 372 372 // Check the nonce … … 609 609 // Instantiate Akismet for BuddyPress 610 610 $bp->activity->akismet = new BP_Akismet(); 611 611 } 612 ?> 613 No newline at end of file 612 ?>