[wp-trac] [WordPress Trac] #38491: Deprecate the `blog_details` filter

WordPress Trac noreply at wordpress.org
Tue Oct 25 17:50:07 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
--------------------------------+-------------------------
Changes (by flixos90):

 * keywords:  needs-patch => has-patch
 * owner:  flixos90 => jeremyfelt
 * status:  assigned => reviewing


Comment:

 [attachment:38491.diff] deprecates the `blog_details` filter and makes it
 available in `WP_Site::get_details()` to maintain BC.

 It also replaces `get_blog_details()` with `get_site()` in all unit tests
 that do not test `get_blog_details()` specifically.

 Note: #38350, #38351 and #38355 should probably go in before this one.

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


More information about the wp-trac mailing list