Fixed transient behavior when the cache plugin is enabled.
[WebKit-https.git] / Websites / webkit.org / wp-content / themes / webkit / functions.php
index 06e2630..2b86ccf 100644 (file)
@@ -92,6 +92,11 @@ function table_of_contents_index( $content, $post_id ) {
     return $content;
 }
 
+function is_super_cache_enabled() {
+    global $super_cache_enabled;
+    return (isset($super_cache_enabled) && true === $super_cache_enabled);
+}
+
 function tag_post_image_luminance( $post_id ) {
     $threshold = 128;
     $tags = array();