[buddypress-trac] [BuddyPress Trac] #5812: BP_Group_Extension::_register() should only run if there is a valid group ID

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


#5812: BP_Group_Extension::_register() should only run if there is a valid group
ID
--------------------------+---------------------
 Reporter:  r-a-y         |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 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/5812#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list