Path issues with custom WP_CONTENT_DIR
-
Hi!
We noticed that your plugin is not compatible with a non standard WordPress structure, like Roots Bedrock etc.
The reason for this is the hardcoded /wp-content/plugins/ in the plugin.
WP_CONTENT_DIR
is available for anyone to modify, so /wp-content/ could be anything.You should change this to use plugins_url(). Seems like you would have to add it as an JS variable that you can use in your scripts.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.