[wp-trac] [WordPress Trac] #45839: Use site meta for blog details
WordPress Trac
noreply at wordpress.org
Sat Jan 5 06:32:13 UTC 2019
#45839: Use site meta for blog details
--------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.6
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
Currently details about each site is received from each site's options.
This means, that every time a WP_Site object is loaded, it may end up
calling switch_to_blog. This is expensive and wasteful. This fields should
be cached in site meta, which will improve load times and makes it easier
to manage.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45839>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list