milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
918 stars 196 forks source link

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

Open david-bann opened 5 years ago

david-bann commented 5 years ago

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');