Skip to content

Commit

Permalink
Add hack to set expires to false vs. 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jarednova committed May 4, 2020
1 parent 69b6ed1 commit a48d9a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Loader.php
Expand Up @@ -54,6 +54,10 @@ public function render( $file, $data = null, $expires = false, $cache_mode = sel
}
}

if ( $expires === 0 ) {
$expires = false;
}

$key = null;
$output = false;
if ( false !== $expires ) {
Expand Down

0 comments on commit a48d9a7

Please sign in to comment.