Changeset 8229
- Timestamp:
- 04/02/2014 07:15:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-functions.php
r8228 r8229 973 973 * If a blog comment transitions to trashed, or spammed, mark the activity as spam. 974 974 * If a blog comment transitions to approved (and the activity exists), mark the activity as ham. 975 * If a blog comment transitions to unapproved (and the activity exists), mark the activity as spam. 975 976 * Otherwise, record the comment into the activity stream. 976 977 */ … … 981 982 982 983 // These clauses handle trash, spam, and un-spams. 983 } elseif ( in_array( $new_status, array( 'trash', 'spam' ) ) ) {984 } elseif ( in_array( $new_status, array( 'trash', 'spam', 'unapproved' ) ) ) { 984 985 $action = 'spam_activity'; 985 986 } elseif ( 'approved' == $new_status ) {
Note: See TracChangeset
for help on using the changeset viewer.