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

WordPress Trac noreply at wordpress.org
Tue Oct 20 20:43:36 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 spacedmonkey):

 Is doing type checking enough of a reason. Like checking to see if it is
 an instance of WP_Network? Maybe allowing it to return false like other
 get functions? It does change the functionality of the function...

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


More information about the wp-trac mailing list