[wp-trac] [WordPress Trac] #37553: Deprecate `wp_get_network()`

WordPress Trac noreply at wordpress.org
Fri Sep 2 23:39:57 UTC 2016


#37553: Deprecate `wp_get_network()`
--------------------------------+-------------------------
 Reporter:  flixos90            |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  reviewing
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+-------------------------

Comment (by jeremyfelt):

 Replying to [comment:5 jorbin]:
 > Should there be a comment about why the function is located here rather
 than with the other deprecated functions?

 I don't think we need to do that on each function. It may be worth adding
 a comment above the first deprecated function in this file,
 `get_current_site_name()`, to indicate that any deprecated functions from
 `ms-load.php` should go here, but that would probably be another ticket.

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


More information about the wp-trac mailing list