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

WordPress Trac noreply at wordpress.org
Thu Mar 23 23:32:48 UTC 2017


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

 * keywords:  dev-feedback =>
 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  4.8 =>


Comment:

 As I have now looked at the issue more closely, I think that implementing
 `get_site_by()` as a one-to-one replacement for `get_blog_details()`
 doesn't make sense. Also due to the aforementioned reasons, I agree that
 we shouldn't deprecate the function, but rather simply recommend
 `get_site_by()` going forward.

 Let's continue discussion of the enhancements in #40180 and #40228, and
 there are also some patches to review and test. :)

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


More information about the wp-trac mailing list