[wp-trac] [WordPress Trac] #37414: Use `get_network()` instead of global `$current_site`

WordPress Trac noreply at wordpress.org
Thu Oct 6 17:00:11 UTC 2016


#37414: Use `get_network()` instead of global `$current_site`
--------------------------------+------------------------
 Reporter:  flixos90            |       Owner:  flixos90
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * keywords:  has-patch needs-refresh => has-patch


Comment:

 [attachment:37414.2.diff] is a new patch that works against current trunk.
 Other than that, it does the same as mentioned above in
 https://core.trac.wordpress.org/ticket/37414#comment:4.

 A site note: While doing the replacements, I found two minor issues that
 are a bit related, #38246 and #38247. Maybe those should be merged before
 this one.

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


More information about the wp-trac mailing list