#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)
Change History (5)
#1
@
16 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.
bbpress pre post encoded data filter