Changes between Version 3 and Version 4 of Ticket #22802, comment 10
- Timestamp:
- 12/07/2012 11:26:27 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22802, comment 10
v3 v4 2 2 > I like this idea. Not sure about the global variables – these are hard to debug. And I think `wp_include_plugin()` would be easier to understand than `load`. 3 3 4 The patch was just a proposed starting point and anything that addresses the core concept will be helpful; to capture the known filename at the time of include so it can be made available to the plugin.4 The patch was more to propose the concept than any specific code, and to identify where plugins are loaded. Anything that addresses the core concept will be helpful; to capture the known filename at the time of include so it can be made available to the plugin. 5 5 6 6 Global vars are easy but there are other ways to handle it, all depends on what the core team/community prefers today; I know preferred practices have evolved over the years.