Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2016 09:23:09 PM (8 years ago)
Author:
r-a-y
Message:

Activity: Set WP error if activity content hits a moderation filter.

One important change we are making here is if the activity content matches
a word from the "Comment Blacklist" discussion option from WordPress, we
now stop recording the activity item.

Previously, we were still recording the activity item, but marking it as
spam.

See #6719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r10858 r10860  
    33263326 * @since 1.6.0
    33273327 *
     3328 * @todo We should probably save $source to activity meta.
     3329 *
    33283330 * @param BP_Activity_Activity $activity The activity item to be spammed.
    33293331 * @param string               $source   Optional. Default is "by_a_person" (ie, a person has
Note: See TracChangeset for help on using the changeset viewer.