Skip to content

Commit

Permalink
#4052 - Use mfiletime as version resource on generated custom fonts…
Browse files Browse the repository at this point in the history
… css.

Signed-off-by: Kev Provance <[email protected]>
  • Loading branch information
kprovance committed Jan 17, 2025
1 parent 6ca3d4f commit fcafc40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package Redux
* @author Kevin Provance <[email protected]> & Dovy Paukstys <[email protected]>
* @class Redux_Extension_Custom_Fonts
* @version 4.4.2
* @version 4.5.6
*
* @noinspection PhpHierarchyChecksInspection
* @noinspection PhpDocFinalChecksInspection
Expand All @@ -26,7 +26,7 @@ class Redux_Extension_Custom_Fonts extends Redux_Extension_Abstract {
*
* @var string
*/
public static $version = '4.4.2';
public static $version = '4.5.6';

/**
* Extension friendly name.
Expand Down Expand Up @@ -232,7 +232,7 @@ public function enqueue_output() {
'redux-custom-fonts',
$this->upload_url . 'fonts.css',
array(),
time()
filemtime( $this->upload_dir . 'fonts.css' )
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function enqueue() {
'redux-custom_fonts',
$class->upload_url . 'fonts.css',
array(),
Redux_Core::$version
filemtime( $class->upload_dir . 'fonts.css' )
);
}
}
Expand Down

0 comments on commit fcafc40

Please sign in to comment.