Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#672 closed defect (bug) (wontfix)

Check if the content is false in save() of Wire class + diff

Reported by: nicolagreco Owned by:
Priority: major Milestone:
Component: Version: 1.0
Severity: Keywords: has-patch, nicolagreco
Cc:

Description

Assuming that a spam filter mark a wire content as spam, so it changes $wire->content = false via the newest filter bp_wire_post_content ([1327])

the content could be false

and if the content will be false it has not to be saved in the db

look at the diff file

Attachments (1)

bp-wire-content-check.diff (414 bytes ) - added by nicolagreco 17 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
17 years ago

Problem is this removes original content not allowing for manual checking/validation etc. There are always false positives.

#2 @apeatling
17 years ago

  • Resolutionwontfix
  • Status newclosed

This is not a good idea, I've added before and after save actions in r1351 that can be used for this.

#3 @(none)
17 years ago

  • Milestone Wire 1.0

Milestone Wire 1.0 deleted

Note: See TracTickets for help on using tickets.