[Plugin: Shadowbox JS] SSL-Aware CSS URLs
-
Since the array returned by wp_upload_dir() doesn’t seem to be SSL aware, here is a fix for ShadowboxFrontend::styles() to avoid browser warnings.
inc/frontend.php line 110:
$baseurl = ( is_ssl() ) ? str_replace('http://', 'https://', $uploads['baseurl']) : $uploads['baseurl'];
The topic ‘[Plugin: Shadowbox JS] SSL-Aware CSS URLs’ is closed to new replies.