[buddypress-trac] [BuddyPress Trac] #5790: If leave a private group and click request membership button before refresh page get -1

buddypress-trac noreply at wordpress.org
Sun Jun 28 13:05:10 UTC 2015


#5790: If leave a private group and click request membership button before refresh
page get -1
--------------------------------------+-----------------------------
 Reporter:  SinOB                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Component - Groups        |     Version:  2.0
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |
--------------------------------------+-----------------------------
Changes (by lakrisgubben):

 * cc: alexander.berthelsen@… (added)
 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 The problem seems to lie in the fact that the link returned from
 `bp_legacy_theme_ajax_joinleave_group` had the wrong nonce name,
 `groups_send_membership_request` instead of `groups_request_membership`.
 Attached patch fixes this.

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


More information about the buddypress-trac mailing list