[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:20:05 UTC 2021


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

Comment (by imath):

 In [changeset:"13041" 13041]:
 {{{
 #!CommitTicketReference repository="" revision="13041"
 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.

 See #8545 (trunk)
 }}}

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


More information about the buddypress-trac mailing list