[buddypress-trac] [BuddyPress Trac] #8396: Bug: BP Nouveau accept invitation error

buddypress-trac noreply at wordpress.org
Sat Apr 17 08:31:45 UTC 2021


#8396: Bug: BP Nouveau accept invitation error
------------------------------+---------------------
 Reporter:  meijioro          |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  8.0.0
Component:  Templates         |     Version:  6.3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12890" 12890]:
 {{{
 #!CommitTicketReference repository="" revision="12890"
 BP Nouveau: improve the way we get the `nonce` in JavaScript main file

 Splitting the `data-bp-nonce` attribute to get Ajax buttons nonce is not
 the right way to do it. There can be situation where the `_wpnonce` URL
 param is not the last one (eg: the `data-bp-nonce` attribute of the
 Accept Group Invite button contains a `redirect_to` param). Using the
 `bp.Nouveau.getLinkParams()` function is fixing the issue.

 Prop meijioro

 Fixes #8396
 }}}

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


More information about the buddypress-trac mailing list