Changeset 6734
- Timestamp:
- 01/21/2013 06:12:46 PM (12 years ago)
- Location:
- trunk/bp-activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r6732 r6734 592 592 593 593 // Bail if BuddyPress Activity Akismet support has been disabled by another plugin 594 if ( ! apply_filters( 'bp_activity_use_akismet', true) )594 if ( ! apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) 595 595 return; 596 596 -
trunk/bp-activity/bp-activity-loader.php
r6622 r6734 53 53 // Load Akismet support if Akismet is configured 54 54 $akismet_key = bp_get_option( 'wordpress_api_key' ); 55 if ( defined( 'AKISMET_VERSION' ) && ( !empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', true) )55 if ( defined( 'AKISMET_VERSION' ) && ( !empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) 56 56 $includes[] = 'akismet'; 57 57
Note: See TracChangeset
for help on using the changeset viewer.