Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/03/2011 03:42:58 PM (13 years ago)
Author:
djpaul
Message:

Activity admin iteration. See #3660.

  • Fix "n activities per screen" option not working (and only load on the index screen).
  • Fix activity type filter drop down.
  • Fix PHP warnings when the index screen tried to truncate activity item's contents.
  • Add "bp_activity_use_akismet" filter to allow Akismet integration with Activity to be disabled.
  • Add first version of the Activity edit screen, and its contextual help text.
File:
1 edited

Legend:

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

    r5301 r5435  
    5252        // Load Akismet support if Akismet is configured
    5353        $akismet_key = bp_get_option( 'wordpress_api_key' );
    54         if ( defined( 'AKISMET_VERSION' ) && ( !empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) )
     54        if ( defined( 'AKISMET_VERSION' ) && ( !empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', true ) )
    5555            $includes[] = 'akismet';
    5656
Note: See TracChangeset for help on using the changeset viewer.