[wp-trac] [WordPress Trac] #32529: wp-admin/includes files should not contain hooks

WordPress Trac noreply at wordpress.org
Wed Aug 5 00:23:09 UTC 2015


#32529: wp-admin/includes files should not contain hooks
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  4.3
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by azaozz):

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


Comment:

 This sounds good but broke outputting the Add Media button above the
 editor in non wp-admin context, see #33257.

 Looking through the files from where the actions and filters were moved,
 several more are sometimes included in non wp-admin context. Some plugins
 may also include them outside wp-admin.

 In that terms seems we should revert this to maintain back-compat.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32529#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list