Opened 7 years ago
Closed 14 months ago
#42091 closed enhancement (maybelater)
Use get_site_by() in get_id_from_blogname()
Reported by: | jeremyfelt | Owned by: | jeremyfelt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-unit-tests has-patch |
Focuses: | multisite | Cc: |
Description
The introduction of get_site_by()
(see #40180) gives us the opportunity to clean up some similar code.
Attachments (2)
Change History (10)
#2
@
7 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
As get_site_by()
will be reverted (see https://core.trac.wordpress.org/ticket/40180#comment:36), this needs to be reverted as well. It can be merged back in once get_site_by()
is actually ready.
This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
In 41743: