Tag: WPMU_PLUGIN_DIR
-
beware the trailing slash…
So, we had an interesting issue with wordpress plugins not using the correct path, so we had busted URLs for their resources. for example: <img src=’http://example.com/wp-content/plugins/var/www/example.com/htdocs/wp-content/plugins/myplugin/logo.png’ alt=’plugin logo’/> Now, this is obviously ideal since the resource was not being loaded (bad mkay). The fix is only 1 character believe it or not. Removing the trailing…