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

WordPress Trac noreply at wordpress.org
Wed Sep 21 12:52:49 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 needs-refresh  |     Focuses:  multisite
-------------------------------------+------------------------

Comment (by flixos90):

 Replying to [comment:5 jeremyfelt]:
 > [38388] has been reverted in [38636]. Due to this and possibly some
 other churn, [attachment:37414.diff] is having some trouble applying
 cleanly.

 Let's see if we can get #34450 in first as this would contain another case
 that this ticket would apply to. I can take care of creating an updated
 patch afterwards.

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


More information about the wp-trac mailing list