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

WordPress Trac noreply at wordpress.org
Thu Mar 9 09:53:46 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
--------------------------------+------------------------

Comment (by flixos90):

 @spacedmonkey I still don't think it makes sense to do this. Since we
 deprecate this function, we don't need to improve it anymore. More
 importantly, improvements can always introduce backward-compatibility
 issues, and in such a case I don't think it's worth the hassle.
 I think the guideline here should be to make sure deprecated functions
 still work, but they do not necessarily work as well as their recommended
 counterpart. The terrible code of that function plus the introduction of
 `get_site()` which does exactly the same, only in a better way, are what I
 consider the reasons for deprecating.

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


More information about the wp-trac mailing list