Mixed content issue - SSL

Reports about issues that you encounter in Suffusion. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is being officially closed with effect from 3rd February 2019. Future support requests can be posted on the GitHub page at https://github.com/sayontan/suffusion/issues.
Locked
philipjohn
Posts: 1
Joined: 05 Feb 2015, 03:26

Mixed content issue - SSL

Post by philipjohn » 05 Feb 2015, 04:49

Note: Originally posted at https://wordpress.org/support/topic/mix ... -issue-ssl but figured I'd post to this "official" forum too :)

When using Suffusion on a site using SSL, the following error is generated:
Mixed Content: The page at 'https://example.com/suffusiontest/' was loaded over HTTPS, but requested an insecure resource 'http://translate.google.com/translate_a ... lementInit'. This request has been blocked; the content must be served over HTTPS.
Fixing this issue is as simple as detecting the protocol to use for enqueueing. I've fixed that in this diff: https://gist.github.com/philipjohn/b616ec58f5a44840d918

Thanks

Locked