[wp-trac] [WordPress Trac] #30947: wp-includes files should not contain hooks

WordPress Trac noreply at wordpress.org
Fri Jan 16 03:54:01 UTC 2015


#30947: wp-includes files should not contain hooks
----------------------------+---------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by wonderboymusic):

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


Comment:

 `wp-admin/includes/` is way trickier - since the `add_*()` calls are
 really only meant to run when the "template part" is loaded, which is not
 universal for the whole admin.

 Let's mark this as done and maybe spin up a new ticket if we want to clean
 up the admin calls.

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


More information about the wp-trac mailing list