[wp-trac] [WordPress Trac] #40228: Use get_sites in get_blog_details

WordPress Trac noreply at wordpress.org
Thu Mar 23 08:33:35 UTC 2017


#40228: Use get_sites in get_blog_details
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:  flixos90
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------
Changes (by flixos90):

 * owner:   => flixos90
 * status:  new => assigned


Comment:

 Thanks for the code snippet @spacedmonkey!

 I think we should rather direct our efforts to `get_site_by()` (#40180)
 and then wrap that function with `get_blog_details()`. See
 https://core.trac.wordpress.org/ticket/40064#comment:19

 I'll probably work on a patch later that takes your above proposal into
 account.

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


More information about the wp-trac mailing list