[buddypress-trac] [BuddyPress Trac] #6832: Error Posting comments
buddypress-trac
noreply at wordpress.org
Sat Feb 20 04:12:04 UTC 2016
#6832: Error Posting comments
---------------------------------------------+-----------------------------
Reporter: mjc82in | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting
Component: API | Review
Severity: normal | Version:
Keywords: reporter-feedback needs-testing | Resolution:
---------------------------------------------+-----------------------------
Comment (by mjc82in):
I am running the latest version of everything.
Not Sure if its the right way of doing it, but I finally resolved the
issue today.
In bp_activity_functions.php file, bp_activity_update_meta function
added this line
"$meta_value = wp_unslash($meta_value);"
when $meta_key == '_bp_akismet_submission'
before this line
"$retval = update_metadata( 'activity', $activity_id, $meta_key,
$meta_value, $prev_value );"
And it works.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6832#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list