[wp-trac] [WordPress Trac] #40064: Deprecate `get_blog_details()`

WordPress Trac noreply at wordpress.org
Wed Mar 8 07:53:04 UTC 2017


#40064: Deprecate `get_blog_details()`
--------------------------------+------------------------
 Reporter:  flixos90            |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------
Changes (by spacedmonkey):

 * type:  defect (bug) => enhancement


Comment:

 Personally I think we should keep the function around. It was a corner
 stone of multisite for a long time and might be widely used in third party
 code.

 However, looking at the code in this function is a mess. It is so
 confusing and is poorly documented. The internals should be refactored to
 use wp_site_query and unnecessary caches removed.

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


More information about the wp-trac mailing list