Move logged-in user checks for bbPress BP Notification Grabber later down the page
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
I'm going to move the logged-in user check to the callbacks, which will stop these DB queries from running.
#1 Updated by Raymond Hoh 5 months 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.