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

WordPress Trac noreply at wordpress.org
Tue Jun 30 19:12:24 UTC 2015


#32845: Introduce wp_include()
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Plugins          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 What if WordPress included a wrapper function for including & requiring
 files, that could be filtered by any plugin or theme to make everything
 fully modular, pluggable, and decoupled.

 This function would replace all `include/_once()` & `require/_once()`
 calls, allowing for the complete override of core files without hacking or
 replacing huge swaths of core functionality.

 Patch with the function and an imaginary use-case imminent.

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


More information about the wp-trac mailing list