[buddypress-trac] [BuddyPress Trac] #8433: Posting comments to activity failing in new_activity_comment ajax
buddypress-trac
noreply at wordpress.org
Thu Feb 11 17:56:15 UTC 2021
#8433: Posting comments to activity failing in new_activity_comment ajax
--------------------------+------------------------------
Reporter: gavoutdoors | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 7.1.0
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by imath):
Hi,
Please check if your theme contains an activity/entry.php template. If so,
make sure the second argument of the wp_nonce_field() function is:
`'_wpnonce_new_activity_comment_' . bp_get_activity_id()`
(This might be needed if your theme is overriding the activity/entry.php
template)
See line 148 of
https://buddypress.trac.wordpress.org/browser/tags/7.1.0/src/bp-templates
/bp-legacy/buddypress/activity/entry.php#L148
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8433#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list