[wp-trac] [WordPress Trac] #40180: Introduce `get_site_by()` function for multisite
WordPress Trac
noreply at wordpress.org
Tue Aug 8 16:34:20 UTC 2017
#40180: Introduce `get_site_by()` function for multisite
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback has-unit- | Focuses: multisite
tests ms-roadmap |
-------------------------------------------------+-------------------------
Changes (by flixos90):
* keywords: has-patch dev-feedback has-unit-tests => has-patch dev-
feedback has-unit-tests ms-roadmap
* milestone: Future Release => 4.9
Comment:
Per today's office hours, it was decided to introduce the new function and
use it to improve `get_blog_details()`.
Let's think about possibly finding a more suitable name. The function is
not entirely equivalent to something like `get_term_by()`, since it also
supports an array, so a different kind of name might make sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40180#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list