[wp-trac] [WordPress Trac] #40228: Use get_sites in get_blog_details
WordPress Trac
noreply at wordpress.org
Mon Feb 6 20:08:30 UTC 2023
#40228: Use get_sites in get_blog_details
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
| spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests ms-roadmap | Focuses: multisite
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
Looking into this deeping, I discovered that this function is only used in
2 places in core and is not used in any plugins in the repo. I think we
should do the following.
- Merge the PR that moves to use get_sites.
- Remove two usages of this function in core and replace with get_site.
See #57571
- Deprecated this function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40228#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list