Permalink
Browse files

Make use of Google font protocol agnostic

Make use of Google font protocol agnostic to avoid mixed content warnings on SSL sites.
1 parent 9db85e4 commit 02ba7d48ca65f7c23ba7e1db46f52b5158d92fb8 @ChrisHardie ChrisHardie committed Apr 18, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions.php
View
@@ -239,7 +239,7 @@ function bones_comments( $comment, $args, $depth ) {
and be up and running in seconds.
*/
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');

0 comments on commit 02ba7d4

Please sign in to comment.