cpoetzsch
Member
Posted 10 months ago #
The current version doesn't support sites which uses SSL. WP_CONTENT_URL is usually initialized with the http protocol, cause get_option("siteurl") returns this. Replacing line 67 in wp-syntax.php with $css_url = site_url('wp-content/plugins/wp-syntax/wp-syntax.css'); fixes the problem on my side. Would be nice if it could be added to the next version.
Chris
SaltwaterC
Member
Posted 7 months ago #
Would be nice to have this feature. Is this plug-in still maintained?
Ditto that this would be useful. FWIW, I added this code before the echo at the end of that function (line 72):
//HTTPS fix
if(is_ssl())
$css_url = str_replace("http:", "https:", $css_url);
Might be useful if people have their plugins folder somewhere else.