This is seem fix my issues :
if (strpos($script_path, 'wp-content') === false || !defined('WP_CONTENT_DIR')) {
$script_path = $this->fix_wp_subfolder($script_path);
}
Hey Llaumgui, where did you add these new lines?
This is an issue. I have wordpress core files under /public_html/wp/ and plugin, uploads, and theme files under /public_html/app/, yet the plugin attempt to look in /public_html/wp/app/themes/{mytheme}/style.css and fails because the correct path is /public_html/app/themes/{mytheme}/style.css
WP_CONTENT_DIR is correctly set to /public_html/app/ – but this plugin does not seem to be using WP_CONTENT_DIR
Search :
$script_path = $this->fix_wp_subfolder($script_path);
And replace b my code.
I’ve seen the same behavior. In cases where WP_CONTENT_DIR
is defined, that constant should be respected as the canonical content directory path.
I’ve finally had a look at this and rolled out MMR 1.8.12. It should sort this issue. I’ll mark it as resolved but if you have any issues please open a new thread.