[wp-trac] [WordPress Trac] #37707: Change the inclusion of 'plugins.php' to require_once

WordPress Trac noreply at wordpress.org
Fri Sep 9 02:35:28 UTC 2016


#37707: Change the inclusion of 'plugins.php' to require_once
----------------------------+-----------------------
 Reporter:  jorbin          |       Owner:  jorbin
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  4.7
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by dd32):

 Cross-referencing [38571] so the above comment makes sense.

 We could simply use `require dirname(__FILE__) . '/class-wp-hook.php';`
 there instead.

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


More information about the wp-trac mailing list