Răsfoiți Sursa

Make use of Google font protocol agnostic

Make use of Google font protocol agnostic to avoid mixed content warnings on SSL sites.
Chris Hardie 10 ani în urmă
părinte
comite
02ba7d48ca
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -239,7 +239,7 @@ can replace these fonts, change it in your scss files
 and be up and running in seconds.
 and be up and running in seconds.
 */
 */
 function bones_fonts() {
 function bones_fonts() {
-  wp_enqueue_style('googleFonts', 'http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic');
+  wp_enqueue_style('googleFonts', '//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic');
 }
 }
 
 
 add_action('wp_enqueue_scripts', 'bones_fonts');
 add_action('wp_enqueue_scripts', 'bones_fonts');