[wp-trac] [WordPress Trac] #37687: Multisite - Enormous number of update queries during site creation (user roles)
WordPress Trac
noreply at wordpress.org
Thu Aug 7 00:20:47 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: Upgrade/Install | Version: 2.0
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-test- | Focuses: multisite,
info dev-feedback commit | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: good-first-bug has-patch has-test-info dev-feedback changes-
requested => good-first-bug has-patch has-test-info dev-feedback
commit
* component: Networks and Sites => Upgrade/Install
Comment:
The [https://github.com/WordPress/wordpress-develop/pull/8341 pull
request] tests well and looks good to commit.
I've moved this to the Upgrade/Install component as the same issue is
present when creating a single site install.
The number of queries when populating roles is reduced from 347 to 3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37687#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list