New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code improvement on BuddyPress detection #511
Comments
Let's track this as a separate issue please |
Please open this as a new issue as well please |
Opened other two tickets and cleaned this one |
Thanks! |
@Mte90 check #515 for me please, this will flip the With BuddyPress: https://github.com/gocodebox/lifterlms/blob/master/includes/integrations/class.llms.integration.buddypress.php#L108 With bbPress: https://github.com/gocodebox/lifterlms/blob/master/includes/integrations/class.llms.integration.bbpress.php#L229 Etc... Let me know if that helps! |
As I can see in every page there is this query, but there isn't Buddypress in my installation.
AS I can see on
lifterlms/includes/class.llms.integrations.php
Line 52 in d824132
the class are defined maybe they are executed on every page.
There is the request https://github.com/gocodebox/lifterlms/blob/master/includes/abstracts/llms.abstract.integration.php#L125 maybe we can add a check in the classes with detect the plugin like for
lifterlms/includes/class.llms.widgets.php
Line 34 in 0eb9568
In the meantime we can disable with an hook and save a query in every page, in all the pages of the site.
The text was updated successfully, but these errors were encountered: