Define WP_PLUGIN_DIR before loading db.php
|Reported by:||sirzooro||Owned by:|
In my plugin (DB Cache Reloaded) I provide custom db.php file, and in in I need to know the plugin directory. Unfortunately WP_PLUGIN_DIR is defined after this file is loaded, so now I have to define it in my plugin.
Attached patch moves this define before db.php is loaded.