[buddypress-trac] [BuddyPress Trac] #7497: `BP_Groups_Group::set_up_admins_and_mods()` can fail when users don't have site role

buddypress-trac noreply at wordpress.org
Wed Apr 5 20:04:11 UTC 2017


#7497: `BP_Groups_Group::set_up_admins_and_mods()` can fail when users don't have
site role
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.9
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11526"]:
 {{{
 #!CommitTicketReference repository="" revision="11526"
 Specify that group admin/mod queries should be blog-independent.

 On Multisite, `get_users()` queries are limited to the current site,
 unless
 otherwise specified. Since group membership is independent of WP site
 roles/caps, we should opt out of this limitation.

 Fixes #7497.
 }}}

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


More information about the buddypress-trac mailing list