Line 159 – easy-media-gallery-pro.php
You have to override the conditional thats screwing everything up. The remove the str_replace and just use the constant WP_PLUGIN_URL in place of the str_replace function
…that was fun to find out while taking a website live…
#########################
if ( !defined( ‘EMGDEF_PLUGIN_URL’ )) {
define( ‘EMGDEF_PLUGIN_URL’, WP_PLUGIN_URL . ‘/’ . EMGDEF_PLUGIN_NAME . ‘/’ );
// if (is_ssl()) {
// define( ‘EMGDEF_PLUGIN_URL’, str_replace(‘http’, ‘https’, WP_PLUGIN_URL) . ‘/’ . EMGDEF_PLUGIN_NAME . ‘/’ );
// } else {
// define( ‘EMGDEF_PLUGIN_URL’, WP_PLUGIN_URL . ‘/’ . EMGDEF_PLUGIN_NAME . ‘/’ );
// }
}