[buddypress-trac] [BuddyPress Trac] #4785: Decouple "visibility" and "access" properties

buddypress-trac noreply at wordpress.org
Wed Aug 13 18:06:43 UTC 2014


#4785: Decouple "visibility" and "access" properties
-------------------------+---------------------------
 Reporter:  smninja      |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.1
Component:  Groups       |     Version:  1.7
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------

Comment (by r-a-y):

 In [changeset:"8827"]:
 {{{
 #!CommitTicketReference repository="" revision="8827"
 Do not process `BP_Group_Extension::setup_access_settings()` if no group
 ID is available.

 If no group ID is available, the
 `BP_Group_Extension::setup_access_settings()`
 method should not do its checks.  This is to avoid running DB queries
 unnecessarily.  (See #4785.)

 Fixes #5812.
 }}}

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


More information about the buddypress-trac mailing list