[wp-trac] [WordPress Trac] #33899: Change get_current_site to get_current_network

WordPress Trac noreply at wordpress.org
Tue Oct 20 20:37:33 UTC 2015


#33899: Change get_current_site to get_current_network
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by jeremyfelt):

 Thanks for the ticket/patch, @spacedmonkey.

 We should be wary of introducing a new function for the sole purpose of
 naming. I don't think `get_current_site()` is hurting anything at the
 moment, and `get_current_network()`, without providing any new
 functionality, would result in some confusion as to why both exist. It can
 be frustrating to keep some of the naming as is while other pieces are
 changing, but we can leave things as is when we don't need anything new
 from them.

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


More information about the wp-trac mailing list