[wp-trac] [WordPress Trac] #58423: Avoid an extra database query in populate_network()
WordPress Trac
noreply at wordpress.org
Tue May 30 14:30:46 UTC 2023
#58423: Avoid an extra database query in populate_network()
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch good-first-bug needs- | Focuses: multisite,
testing | performance
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Thanks for the patches!
Good catch on removing the `get_userdata()` call in
[attachment:"58423-2.diff"]. I didn't notice it before, but I agree it's
not really needed if we only use the ID.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58423#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list