[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 11:36:19 UTC 2013
#25158: Use get_current_site() instead of the $current_site global when possible
------------------------------+-----------------------------
Reporter: jeremyfelt | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.8
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
Looks like we don't actually need the variable in `wp-admin/admin-
header.php` and can replace it with `get_current_site()` there too:
[attachment:25158.6.diff].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25158#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list