• Resolved juggledad

    (@juggledad)


    If you force the site to use HTTPS, the CSS will not be applied because the source link to the css is using HTTP.

    Using FireBug in FireFox, I see the message

    Blocked loading mixed active content

    https://ww.wp.xz.cn/plugins/my-custom-css/

    This has forced me to remove the plugin and edit the style.css directly – which I’m sure is going to cause a problem in the future for the customer (i.e. an update will wipe it out…sigh, I’d really like to use your plugin…)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anonymous User 357386

    (@anonymized-357386)

    I’ll try to fix as soon as possible! Thanks for report and sorry for this.

    Anonymous User 357386

    (@anonymized-357386)

    can u try with this?

    from (function at line 27):

    function mystylecss_url()
    {
    	$upload_dir = wp_upload_dir();
    	$mystylecss_url = $upload_dir['baseurl'];
    	return $mystylecss_url;
    }

    to:

    function mystylecss_url()
    {
    	$upload_dir = wp_upload_dir();
    	$mystylecss_url = set_url_scheme($upload_dir['baseurl']);
    	return $mystylecss_url;
    }

    i think with this will be ok!

    Thread Starter juggledad

    (@juggledad)

    Excellent! that works great! just sent you a tip.

    Anonymous User 357386

    (@anonymized-357386)

    Thank’u, really appreciated 🙂
    I release this fix in next release!

    Regards,
    S.N.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘doesn't work if situ using HTTPS’ is closed to new replies.