[buddypress-trac] [BuddyPress Trac] #5512: Don't allow non-root blog admins to use the Friends widget

buddypress-trac noreply at wordpress.org
Fri Apr 18 17:57:14 UTC 2014


#5512: Don't allow non-root blog admins to use the Friends widget
-------------------------+------------------
 Reporter:  lenasterg    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.1
Component:  Friends      |     Version:  1.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by boonebgorges):

 Awesome, thanks, williamsba1. `is_main_site()` isn't quite specific enough
 for BP - we need to use `bp_is_root_blog()` to support the installation of
 BP on a secondary site, as well as multiblog mode. But the logic looks
 good to me.

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


More information about the buddypress-trac mailing list