Skip to content

Commit

Permalink
add cache busting to cssurl
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnbent committed Aug 30, 2021
1 parent fb7e653 commit 195ca1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Controller/CertificateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function addScript() {
],
'modal' => [
'uid' => $post->ID,
'css' => WORDPROOF_URI_CSS . '/frontend.css',
'css' => WORDPROOF_URI_CSS . '/frontend.css' . ($assetVersion ? '?v=' . $assetVersion : ''),
'locale' => get_locale(),
'lastModified' => get_the_modified_date( 'c', $post->ID ),
],
Expand Down

0 comments on commit 195ca1a

Please sign in to comment.