Skip to content

Commit

Permalink
Null out the version option in wp_enqueue_style to prevent difficult …
Browse files Browse the repository at this point in the history
…to bust caching
  • Loading branch information
courdek committed Jun 5, 2017
1 parent 3fbb4fa commit 74432a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inc/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Enqueue scripts and styles.
*/
function forward_scripts() {
wp_enqueue_style( 'forward-style', get_stylesheet_uri() );
wp_enqueue_style( 'forward-style', get_stylesheet_uri(), null, null );

// Front-end scripts
if ( !is_admin() ) {
Expand Down

0 comments on commit 74432a6

Please sign in to comment.