[wp-trac] [WordPress Trac] #41806: Use get_network_by_path in get_admin_users_for_domain

WordPress Trac noreply at wordpress.org
Tue Sep 12 03:13:36 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
--------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch => has-patch close


Comment:

 I'd prefer ignoring it. We shouldn't spend much time maintaining
 deprecated functions unless there's a noticeable benefit. Also,
 `WP_Network::get_by_path()` and `get_network_by_path()` are intended for
 bootstrap use. For something like this, I think a straight
 `get_networks()` would make more sense. I'm going to suggest we close this
 as a wontfix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41806#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list