[wp-trac] [WordPress Trac] #25158: Use get_current_site() instead of the $current_site global when possible

WordPress Trac noreply at wordpress.org
Sun Sep 8 23:21:35 UTC 2013


#25158: Use get_current_site() instead of the $current_site global when possible
------------------------------+------------------
 Reporter:  jeremyfelt        |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Multisite         |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:9 SergeyBiryukov]:
 > We should probably keep the global in `admin-header.php`, see [18526]
 and #16143.

 On second thought, removing the global seems fine.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25158#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list