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

WordPress Trac noreply at wordpress.org
Mon Jan 12 06:52:11 UTC 2015


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

Comment (by rmccue):

 +1, totally agree with this. I've had times where I'm loading in files
 (typically loading parts of `wp-includes` from a page that doesn't
 automatically include them) and the code in them makes it impossible to
 use.

 I'd suggest the same for `wp-admin/includes/` too if we can.

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


More information about the wp-trac mailing list