Support » Theme: Displace » Font is always included via http

  • Resolved l-x

    (@l-x)


    If you run your blog on https IE and Firefox will show Warnings about unsecure contents on the site.

    Patch:

    diff --git a/functions.php b/functions.php
    index 60c655b..36d759a 100755
    --- a/functions.php
    +++ b/functions.php
    @@ -107,7 +107,7 @@ function displace_scripts() {
     	wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons/genericons.css', array(), '3.0' );
    
     	// Add Roboto Slab font.
    -	wp_enqueue_style( 'roboto-slab', 'http://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300&subset=latin,cyrillic', array(), null );
    +	wp_enqueue_style( 'roboto-slab', '://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300&subset=latin,cyrillic', array(), null );
    
     	// Load main stylesheet.
     	wp_enqueue_style( 'displace-style', get_stylesheet_uri() );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Font is always included via http’ is closed to new replies.