Plugin Author
Daniel
(@dannisbet)
Good catch. I’ll work on getting that fixed in the next update.
I was just about to suggest replacing site_url() with home_url() as that would have fixed the problem I’m having with using WordPress as a Composer dependency in a subfolder. But greeso’s suggestion of getting wp-content with a function like content_url() make more sensse.
@greeso – As a temporary fix until the next update to this plugin, I added a custom rewrite rule to my .htaccess so that (in my case) /wp/wp-content/ requests were forwarded to the right location.
RewriteRule ^wp/wp-content/(.*)$ /wp-content/$1 [R=301,NC,L]
Adjust as needed.