[wp-trac] [WordPress Trac] #32529: wp-admin/includes files should not contain hooks
WordPress Trac
noreply at wordpress.org
Fri May 29 17:03:15 UTC 2015
#32529: wp-admin/includes files should not contain hooks
----------------------------+--------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.3
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+--------------------
Comment (by wonderboymusic):
In [changeset:"32653"]:
{{{
#!CommitTicketReference repository="" revision="32653"
In the style of #30947 and `default-filters.php`, add 2 new files to `wp-
admin/includes`:
`admin-filters.php`
`ms-admin-filters.php`
There are random actions and filters littered among files like `misc.php`.
These files contain functions that won't work outside of admin context and
are typically only loaded in files that have already loaded the admin
bootstrap.
See #32529.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32529#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list