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/ string in
posten-bring-checkout.jsWP_CONTENT_DIRis 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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Path issues with custom WP_CONTENT_DIR’ is closed to new replies.