markoheijnen/wp-db-driver — pull request #13 by kurtpayne (2013-11-22 04:36:50+00:00)
Title: Handle custom defined WP_PLUGIN_DIR

When a user defines WP_PLUGIN_DIR in wp-config, it will exist when the plugin is loaded. However, if it's not defined in wp-config, then we have to fall back to WP_CONTENT_DIR/plugins.