Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean.php referencing http://fonts.googleapis.com #327

Open
david-bann opened this issue Aug 1, 2019 · 0 comments
Open

clean.php referencing http://fonts.googleapis.com #327

david-bann opened this issue Aug 1, 2019 · 0 comments

Comments

@david-bann
Copy link

david-bann commented Aug 1, 2019

When you run your site on HTTPS instead of HTTP, it causes a mixed content error because clean.php is referencing http://fonts.googleapis.com instead of https://fonts.googleapis.com.

This should be updated, as it would cater for both HTTP and HTTPS sites.

Current code is:
wp_register_style('google-font', 'http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Lora:400,700|Droid+Sans+Mono');

Should be changed to
wp_register_style('google-font', 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Lora:400,700|Droid+Sans+Mono');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant