Change how PATH_PLUGINS is determined
Closed this issue · 1 comments
johnalarcon commented
Description
The PATH_PLUGINS constant can be improved from this:
const PATH_PLUGINS = WP_PLUGIN_DIR;
to
define(__NAMESPACE__.'\PATH_PLUGINS', untrailingslashit(plugin_dir_path(dirname(dirname(__FILE__)))));
johnalarcon commented
Implemented in release version 2.1.0.