Skip to content

Commit

Permalink
possible fix for #1925
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 20, 2018
1 parent 78e8c0e commit 78389a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/webfonts/class-kirki-fonts-google-local.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function __construct( $family ) {
$key = sanitize_key( $this->family );
$this->folder_path = $this->get_root_path() . "/$key";
$this->folder_url = $this->get_root_url() . "/$key";
$this->files = $this->get_font_family();
$this->files = $this->get_font_family();
}

/**
Expand Down Expand Up @@ -437,6 +437,7 @@ public function get_root_url() {
$url = str_replace( $original_domain, $mapped_domain, $url );
}
}
$url = set_url_scheme( $url );
return apply_filters( 'kirki_googlefonts_root_url', untrailingslashit( esc_url_raw( $url ) ) . '/webfonts' );
}

Expand Down

0 comments on commit 78389a9

Please sign in to comment.