[buddypress-trac] [BuddyPress Trac] #8545: The Activity Reply Action tries to validate the wrong nonce

buddypress-trac noreply at wordpress.org
Fri Aug 13 12:21:17 UTC 2021


#8545: The Activity Reply Action tries to validate the wrong nonce
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  9.1.0
Component:  Activity      |     Version:  7.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13042" 13042]:
 {{{
 #!CommitTicketReference repository="" revision="13042"
 Activity: update the nonce used by the Activity Reply JS Fallback

 If JavaScript is unavailable (whether it was disabled or it errored),
 posting an activity uses the `bp_activity_action_post_comment()` PHP
 function after a page load. Unlike the Ajax action, the nonce used into
 this function has not been updated in [12735]. The main goal of this
 commit is to fix this oversight. The secondary goal is to improve code
 formatting.

 Fixes #8545 (branch 9.0)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8545#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list