Your Plugin Breaks other Plugin Code
-
Hi, I am a developer and was troubleshooting a plugin I am developing. I have a simple line in my plugin:
[code]
require_once( 'config.php' );
[/code]That wasn’t executing correctly because of the code I found in your Plugin
[code]
// hack around with the include paths a bit so the library 'just works'
set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
[/code]Keep in mind this “Hack” affects all other code in WordPress and isn’t limited to your plugin. Please address this so your plugin doesn’t break other WordPress code.
The topic ‘Your Plugin Breaks other Plugin Code’ is closed to new replies.