View Single Post
Old March 6th, 2012, 06:14 AM
firstprod firstprod is offline
Join Date: Jul 2009
Posts: 71
Default Plugin no longer supports custom location


The plugin used to be fine in versions 2.x when it was placed in a custom named folder (eg in plugin folder named "products" or "store" to reduce DFR footprints) , but it changed in a recent version, and now I need to manually edit it every time I update.

I was wondering if it might be possible to dynamically assign the location of the plugin folder in future versions based on where it actually is rather than having it hard coded?

The problematic lines are:
"plugin_dir" => WP_PLUGIN_DIR . "/datafeedr",
"plugin_url" => WP_PLUGIN_URL . "/datafeedr"

Many thanks