[buddypress-trac] [BuddyPress Trac] #8004: Multiple comment forms on activity stream lead to duplicated _wpnonce_new_activity_comment input ids
buddypress-trac
noreply at wordpress.org
Fri Sep 25 02:37:49 UTC 2020
#8004: Multiple comment forms on activity stream lead to duplicated
_wpnonce_new_activity_comment input ids
-----------------------------------+---------------------
Reporter: dcavins | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0.0
Component: Templates | Version: 3.0.0
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+---------------------
Changes (by imath):
* keywords: has-patch => has-patch 2nd-opinion
* component: Activity => Templates
Comment:
Hi @dcavins
I agree we need to fix this issue. But I believe creating a function for
this is not necessary. We can simply pass the activity id when setting the
nonce key.
That's what I did in 8004.diff. What do you think of this alternative way?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8004#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list