Actions
Bug #15144
closedMove logged-in user checks for bbPress BP Notification Grabber later down the page
Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Performance
Target version:
Start date:
2022-01-04
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
The logged-in user check in the bbPress BP Notification Grabber plugin here: https://github.com/cuny-academic-commons/cac/blob/a58ed0b5f7b5b907fbc5631c46e502cfa7a73806/wp-content/plugins/bbp-bp-notification-grabber/bbp-bp-notification-grabber.php#L21-L24
Is causing bbPress to run its roles initialization routine, which causes some DB queries to run on the 'plugins_loaded'
hook.
I'm going to move the logged-in user check to the callbacks, which will stop these DB queries from running.
Updated by Raymond Hoh almost 3 years ago
- Status changed from New to Staged for Production Release
I've added some code to address this. See https://github.com/cuny-academic-commons/cac/commit/8c9305fa016cbbaf5c8ccf8e23b3f1be7c6849d7.
Updated by Boone Gorges almost 3 years ago
- Status changed from Staged for Production Release to Resolved
Actions