[Plugin: EG-Attachments] SSL compatibility
-
EG Attachments can cause error on SSL-enabled site, because it loads CSS file via HTTP regardless enabled HTTPS. To fix this, lib/eg-plugin.inc.php has to be edited:
Find:
$this->plugin_url = trailingslashit(WP_PLUGIN_URL.'/'.$plugin_base_path);
And replace with:
$this->plugin_url=trailingslashit(plugins_url().'/'.$plugin_base_path);This is because WP_PLUGIN_URL is legacy constant that does not take into account SSL. Would be great if author include this with updates.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Plugin: EG-Attachments] SSL compatibility’ is closed to new replies.