[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 19:15:26 UTC 2020
#8004: Multiple comment forms on activity stream lead to duplicated
_wpnonce_new_activity_comment input ids
------------------------------+---------------------
Reporter: dcavins | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0.0
Component: Templates | Version: 3.0.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"12735" 12735]:
{{{
#!CommitTicketReference repository="" revision="12735"
Templates: avoid duplicate IDs into comment form nonce field
We now include the Activity ID to the `id` attribute of the input tag
generated for the nonce field used into the Activity comment form. This
makes sure to avoid duplicate IDs when multiple activities are displayed
on the activity pages.
Props dcavins
Fixes #8004
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8004#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list