[wp-trac] [WordPress Trac] #32845: Introduce wp_include()

WordPress Trac noreply at wordpress.org
Tue Jun 30 19:37:17 UTC 2015

#32845: Introduce wp_include()
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:

Comment (by Otto42):

 Minor problem: If you include/require from within a function, then the
 content of the included file is not in the global context anymore, but in
 the function context instead. I feel that this will break quite a lot of

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

More information about the wp-trac mailing list