[buddypress-trac] [BuddyPress Trac] #5463: bp_moderate mapping might behave the wrong way on multisite configs

buddypress-trac noreply at wordpress.org
Mon Mar 17 19:09:19 UTC 2014


#5463: bp_moderate mapping might behave the wrong way on multisite configs
-----------------------------------+------------------
 Reporter:  imath                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  high                   |   Milestone:  2.0
Component:  Core                   |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by boonebgorges):

 The logic here seems good, but I'm wary of putting it into the
 map_meta_cap function. I'd suggest putting a check like this into
 `bp_core_can_edit_settings()`:

 {{{
 if ( is_super_admin( bp_displayed_user_id() ) && ! is_super_admin(
 bp_loggedin_user_id() ) ) {
     return false;
 }
 }}}

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


More information about the buddypress-trac mailing list