diff --git a/includes/Hooks.php b/includes/Hooks.php index 8ff4975..726b12e 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -327,7 +327,7 @@ class Hooks { if ( $revRecord->getId() ) { $cacheKey = 'r' . $revRecord->getId(); } else { - $cacheKey = sha1( $content->getNativeData() ); + $cacheKey = sha1( $content->getText() ); } // Include any non-default wrapper class in the cache key too