[wp-trac] [WordPress Trac] #40180: Introduce `get_site_by()` function for multisite

WordPress Trac noreply at wordpress.org
Mon Oct 16 22:34:12 UTC 2017


#40180: Introduce `get_site_by()` function for multisite
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.9
Component:  Networks and Sites                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback has-unit-     |     Focuses:  multisite
  tests ms-roadmap needs-dev-note                |
-------------------------------------------------+-------------------------

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/40180#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list