Skip to content

Commit 259e571

Browse files
committed
Remove expiration of word count Transient
1 parent 6031c62 commit 259e571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/functions/_wordpress_mods.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function fictioneer_get_stories_total_word_count() {
177177
}
178178

179179
// Cache for next time (24 hours)
180-
set_transient( 'fictioneer_stories_total_word_count', $word_count, HOUR_IN_SECONDS * 24 );
180+
set_transient( 'fictioneer_stories_total_word_count', $word_count );
181181

182182
// Return newly calculated value
183183
return $word_count;

0 commit comments

Comments
 (0)