Skip to content

Commit

Permalink
Remove version from webfont script
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Feb 9, 2018
1 parent 314bb4f commit 0d445f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/webfonts/class-kirki-modules-webfonts-async.php
Expand Up @@ -113,7 +113,7 @@ public function webfont_loader() {
}
$fonts_to_load[] = $font . ':' . join( ',', $weights ) . ':cyrillic,cyrillic-ext,devanagari,greek,greek-ext,khmer,latin,latin-ext,vietnamese,hebrew,arabic,bengali,gujarati,tamil,telugu,thai';
}
wp_enqueue_script( 'webfont-loader', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', array(), KIRKI_VERSION );
wp_enqueue_script( 'webfont-loader', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', array() );
if ( empty( $fonts_to_load ) ) {
return;
}
Expand Down

0 comments on commit 0d445f3

Please sign in to comment.