Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#362 closed defect (bug) (fixed)

fix for bbpress insertion of encoded data

Reported by: burtadsit Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

I found the filter in bbpress that allows pre filtering of post data before it hits the db. This patches buddypress-enable.php to add a 'pre_post' filter to get rid of xmlrpc encoded data before it hits the bbpress db.

I knew there had to be one. I was looking in 'bb_insert_topic()' and not finding anything. Well, that was the wrong place to look. Try 'bb_insert_post()' which actually inserts the post text Burt. duh.

Attachments (1)

add_pre_post.patch (672 bytes) - added by burtadsit 13 years ago.
bbpress pre post encoded data filter

Download all attachments as: .zip

Change History (5)

@burtadsit
13 years ago

bbpress pre post encoded data filter

#1 @burtadsit
13 years ago

The oci_fix_xmlrpc_bbpress.php plugin should be disabled and tossed when this percolates through. Encoded data will still be in the db though. They could leave it running to decode the posts that have been already saved thru group forums. I wouldn't.

A workaround is to edit the posts that look funky with encoded data and just save them back again. The new pre_post filter will catch them and decode them.

#2 @apeatling
13 years ago

  • Milestone set to Forums 1.0

#3 @apeatling
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#4 @(none)
12 years ago

  • Milestone Forums 1.0 deleted

Milestone Forums 1.0 deleted

Note: See TracTickets for help on using tickets.