[wp-trac] [WordPress Trac] #42091: Use get_site_by() in get_id_from_blogname()
WordPress Trac
noreply at wordpress.org
Mon Oct 16 22:34:11 UTC 2017
#42091: Use get_site_by() in get_id_from_blogname()
----------------------------------------+-------------------------
Reporter: jeremyfelt | Owner: jeremyfelt
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: needs-patch has-unit-tests | Focuses: multisite
----------------------------------------+-------------------------
Comment (by flixos90):
In [changeset:"41884"]:
{{{
#!CommitTicketReference repository="" revision="41884"
Multisite: Revert [41698] and [41743].
In order for `get_site_by()` to be truly beneficial, caching in
`WP_Site_Query` needs to be improved to account for common use-cases and
have them be invalidated less aggressively.
See #40180, #40228, #42091.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42091#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list