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

WordPress Trac noreply at wordpress.org
Thu Sep 28 18:35:12 UTC 2017


#40228: Use get_sites in get_blog_details
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.9
Component:  Networks and Sites                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  multisite
  feedback ms-roadmap                            |
-------------------------------------------------+-------------------------

Comment (by flixos90):

 [attachment:40228.2.diff] is a reworked version of `get_blog_details()` to
 work with the latest patch in #40180.

 The removal of all the custom logic in `get_blog_details()` causes the
 cache groups `blog-details` and `blog-lookup` to no longer be used, so we
 can probably remove them completely within the next releases. Therefore
 these groups have been removed from related unit tests and replaced with
 the newer cache groups.

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


More information about the wp-trac mailing list