Opened 2 years ago
Closed 2 years ago
#57571 closed enhancement (fixed)
Replace `get_blog_details` with `get_site`
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Networks and Sites | Keywords: | good-first-bug has-patch commit early |
Focuses: | multisite | Cc: |
Description
Replace usage of get_blog_details
with get_site
. Currently there are 2 instances of get_blog_details
usage in core these can easily be replaced with get_site
Change History (9)
#2
@
2 years ago
@spacedmonkey That sounds like a reasonable change to me.
We should make sure there are no unintended side effects though, potentially related to the concerns voiced in #40228.
#3
@
2 years ago
@flixos90 If we merge this change and deprecated this function, then I don't think #40228 really matters anymore.
This ticket was mentioned in PR #4069 on WordPress/wordpress-develop by @kapilpaul.
2 years ago
#4
- Keywords has-patch added
Trac ticket: trac-57571
trac-57571: Replace get_blog_details with get_site
Note: See
TracTickets for help on using
tickets.
Pinging @flixos90 for his thoughts.