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

WordPress Trac noreply at wordpress.org
Wed Nov 13 04:16:43 UTC 2013


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

Comment (by SergeyBiryukov):

 In [changeset:"26124"]:
 {{{
 #!CommitTicketReference repository="" revision="26124"
 Restore the $current_site global in wp-admin/admin-header.php to avoid an
 undefined function error in single site.

 see #25158.
 }}}

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


More information about the wp-trac mailing list