[wp-trac] [WordPress Trac] #30947: wp-includes files should not contain hooks
WordPress Trac
noreply at wordpress.org
Tue Mar 10 23:19:04 UTC 2015
#30947: wp-includes files should not contain hooks
--------------------------------------------+-----------------------------
Reporter: wonderboymusic | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion 4.2-beta | Focuses:
--------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"31708"]:
{{{
#!CommitTicketReference repository="" revision="31708"
Revert the part of [31168] that [31701] was trying to fix.
`default-filters.php` is loaded before the `$current_site` global is set,
so `is_main_site()` cannot be used there.
fixes #30947.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30947#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list