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

Bug: Add Group on a big site #158

Open
jmalko opened this issue Sep 3, 2024 · 0 comments
Open

Bug: Add Group on a big site #158

jmalko opened this issue Sep 3, 2024 · 0 comments

Comments

@jmalko
Copy link
Contributor

jmalko commented Sep 3, 2024

I found a show-stopper perf issue on:

Line 92: lib/core/class-groups-utility.php

get_group_tree() is called on itself on a null tree and triggers 50% to 100% more queries on the Add Group page in wp-admin

For a few sites, that'd be an extra 10k to 20k queries, in both cases causing a 504.

I commented this line out for the time being on my installs, but am not sure why it's there or if it needed to be there for some reason.

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

No branches or pull requests

1 participant