[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 17:29:48 UTC 2014
#5812: BP_Group_Extension::_register() should only run if there is a valid group
ID
--------------------------+-----------------------
Reporter: r-a-y | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Core | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------
In #4785 some work was done to overhaul the access and visibility control
for group tabs.
However, if there is no group ID, BP_Group_Extension::_register() should
not continue as it runs a few DB queries to check access and visibility.
To test, navigate to a user page and check the queries that are run.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5812>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list