Skip to content
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

Removing unnecessary query data #164

Conversation

dparker1005
Copy link
Member

When looping through the users in the member directory, we only actually use the user ID from the database and then use WP/PMPro functions to grab the rest of the data to show. As a result, the results of all these joins are not used and just slow down the query.

Also optimizing the "join" needed for the search box to only run when a user is actively searching for additional optimization.

@kimcoleman kimcoleman changed the base branch from dev to q4-2024-cycle November 14, 2024 21:24
@kimcoleman kimcoleman merged commit 6d93fa9 into strangerstudios:q4-2024-cycle Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants