Deprecate the `blog_details` filter
|Reported by:||flixos90||Owned by:||jeremyfelt|
|Component:||Networks and Sites||Keywords:||needs-dev-note has-patch|
Per discussion during multisite office-hours (https://wordpress.slack.com/archives/core-multisite/p1477413103001760) we are going to deprecate the blog_details filter and advise developers to use site_details instead.
One issue with that is since we have been replacing all the get_blog_details() calls in Core with get_site() (see #37102), the blog_details filter isn't run at all in some of these occasions. Therefore we will also add the blog_details filter (as deprecated) to WP_Site::get_details() to maintain backward compatibility.
The function get_blog_details() will also be deprecated very soon, likely in the next release.
Because of the complexity of these function replacements and the deprecated filter we need to write a dev-note on this or at least make it a highlighted topic on the general multisite dev-note.
Change History (7)
- Keywords has-patch added; needs-patch removed
- Owner changed from flixos90 to jeremyfelt
- Status changed from assigned to reviewing