Skip to content

Commit

Permalink
Make version null to prevent removal of any duplicate font families (#…
Browse files Browse the repository at this point in the history
…374)

* Make Google font version null to prevent removal of any duplicate font families

Co-authored-by: Travis Smith <t@wpsmith.net>
  • Loading branch information
dreamwhisper and wpsmith committed Mar 23, 2021
1 parent 49d18d1 commit 009ab3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Expand Up @@ -71,11 +71,11 @@ function genesis_sample_enqueue_scripts_styles() {

$appearance = genesis_get_config( 'appearance' );

wp_enqueue_style(
wp_enqueue_style( // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion -- see https://core.trac.wordpress.org/ticket/49742
genesis_get_theme_handle() . '-fonts',
$appearance['fonts-url'],
[],
genesis_get_theme_version()
null
);

wp_enqueue_style( 'dashicons' );
Expand Down

0 comments on commit 009ab3c

Please sign in to comment.