Changeset 5582
- Timestamp:
- 12/22/2011 07:25:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r5414 r5582 600 600 601 601 // Bail if Akismet is not active 602 if ( ! defined( 'AKISMET_VERSION' ) )602 if ( ! defined( 'AKISMET_VERSION' ) ) 603 603 return; 604 604 605 605 // Bail if no Akismet key is set 606 if ( !bp_get_option( 'wordpress_api_key' ) && !defined( 'WPCOM_API_KEY' ) ) 606 if ( ! bp_get_option( 'wordpress_api_key' ) && ! defined( 'WPCOM_API_KEY' ) ) 607 return; 608 609 // Bail if BuddyPress Activity Akismet support has been disabled by another plugin 610 if ( ! apply_filters( 'bp_activity_use_akismet', true ) ) 607 611 return; 608 612 … … 610 614 $bp->activity->akismet = new BP_Akismet(); 611 615 } 612 613 616 ?>
Note: See TracChangeset
for help on using the changeset viewer.