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

WordPress Trac noreply at wordpress.org
Thu Aug 18 16:14:07 UTC 2016


#37553: Deprecate `wp_get_network()`
--------------------------------+-----------------------------
 Reporter:  flixos90            |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by flixos90):

 Thanks for the patch @PieWP! We would also need to add the deprecation to
 the PHPDoc of the function.

 And then we get to the tricky part: `ms-deprecated.php` is loaded after
 Multisite bootstrap processes, however this function is currently
 available at that point. What do we do here? Just leave it there and still
 deprecate it? Adjust the order of files loaded? Or introduce a new file
 for this kind of deprecated multisite functions (like `ms-load-
 deprecated.php`)?

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


More information about the wp-trac mailing list