[wp-trac] [WordPress Trac] #38491: Deprecate the `blog_details` filter
WordPress Trac
noreply at wordpress.org
Tue Oct 25 21:18:50 UTC 2016
#38491: Deprecate the `blog_details` filter
--------------------------------+-------------------------
Reporter: flixos90 | Owner: jeremyfelt
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.7
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+-------------------------
Comment (by jeremyfelt):
Replying to [comment:2 flixos90]:
> [attachment:38491.diff] deprecates the `blog_details` filter and makes
it available in `WP_Site::get_details()` to maintain BC.
Looking good. `apply_filters_deprecated()` already runs `has_filter()` as
its first line, so we can probably skip that part.
> It also replaces `get_blog_details()` with `get_site()` in all unit
tests that do not test `get_blog_details()` specifically.
Let's handle this separately as part of #37102.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38491#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list