[wp-trac] [WordPress Trac] #37687: Multisite - Enormous number of update queries during site creation (user roles)
WordPress Trac
noreply at wordpress.org
Tue Aug 5 03:32:41 UTC 2025
#37687: Multisite - Enormous number of update queries during site creation (user
roles)
-------------------------------------------------+-------------------------
Reporter: fliespl | Owner: realloc
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.9
Component: Networks and Sites | Version: 2.0
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-test- | Focuses: multisite,
info dev-feedback changes-requested | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: good-first-bug has-patch has-test-info dev-feedback => good-
first-bug has-patch has-test-info dev-feedback changes-requested
Comment:
I've posted a change request on the PR to account for a couple of
situations:
* Sites using the `$wp_user_roles` global
* Sites with the `use_db` flag set to false prior to populate_roles
running
I think @johnjamesjacoby's suggestion for tests above is good.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37687#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list