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

WordPress Trac noreply at wordpress.org
Sat Nov 16 13:45:29 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  |
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26235"]:
 {{{
 #!CommitTicketReference repository="" revision="26235"
 Use get_current_site() instead of the $current_site global in wp-admin
 /admin-header.php and is_main_network().

 fixes #25158.
 }}}

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


More information about the wp-trac mailing list