[wp-trac] [WordPress Trac] #41806: Use get_network_by_path in get_admin_users_for_domain
WordPress Trac
noreply at wordpress.org
Wed Sep 13 23:12:12 UTC 2017
#41806: Use get_network_by_path in get_admin_users_for_domain
--------------------------------+------------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: multisite
--------------------------------+------------------------------
Comment (by spacedmonkey):
@jeremyfelt The reason for the patch is simple, there are only 2 other
places in core that run raw sql queries on the sites table. I already for
a patch for `ms_load_current_site_and_network` (#41762) and it is
pointless change `network_domain_check` as it only used installation
process.
For the sake of completely and the simply nature of this patch, I would
make the change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41806#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list