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

WordPress Trac noreply at wordpress.org
Thu Mar 23 23:28:06 UTC 2017


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

Comment (by flixos90):

 I just added a patch on #40228 to demonstrate how this function could be
 used to improve `get_blog_details()` as well. My comment
 https://core.trac.wordpress.org/ticket/40228#comment:8 also goes a bit
 more into detail why I think that modifying `get_blog_details()` is not
 sufficient here and why it's worth introducing `get_site_by()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40180#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list