Support » Plugin: WP-Syntax » SSL site support

  • 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.


Viewing 2 replies - 1 through 2 (of 2 total)
  • 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
    	$css_url = str_replace("http:", "https:", $css_url);

    Might be useful if people have their plugins folder somewhere else.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SSL site support’ is closed to new replies.