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

WordPress Trac noreply at wordpress.org
Sat Mar 18 02:41:50 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 spacedmonkey):

 @stephdau get_site_by will likely not help you. If get_site_by is like
 get_term_by you will not be to get a site by domain and path. get_term_by
 only lets you get a term by one field, such as slug.

 There are already other helper function that might help. get_site_by_path
 is used in the bootstrap process but could also be used to look up a site
 by domain and path. get_site_by_path Is a new function, is well supported
 with tests and is not going anywhere.

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


More information about the wp-trac mailing list