[wp-trac] [WordPress Trac] #40064: Deprecate `get_blog_details()`
WordPress Trac
noreply at wordpress.org
Wed Mar 8 09:52:24 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 don't think it makes sense to adjust `get_blog_details()`
to use `WP_Site_Query`. The `get_site()` function is a clear replacement
for `get_blog_details()` with major benefits, so the latter should be
deprecated in favor of `get_site()` for all the same reasons you mentioned
as well. We already announced its deprecation in the 4.7 multisite dev
note, so people should be prepared. Furthermore, the function will
probably always stay around, it will only be deprecated. :)
Adding to @lukecavanagh's comment that we already removed all
`get_blog_details()` occurrences as part of #37102 and #38349, so we're
safe to deprecate the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40064#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list