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

WordPress Trac noreply at wordpress.org
Fri Sep 30 04:10:47 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 jeremyfelt):

 Replying to [comment:6 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.

 And #34450 is in. :)

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


More information about the wp-trac mailing list