Skip to content

Commit b3a503b

Browse files
committed
updating cache and helpers
1 parent 042684c commit b3a503b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Blocks/BlocksExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class BlocksExample extends AbstractBlocks
2626
public function register(): void
2727
{
2828
// Register all custom blocks.
29-
\add_action('init', [$this, 'registerBlocks'], 11);
29+
\add_action('init', [$this, 'registerBlocks'], 10);
3030

3131
// Remove P tags from content.
3232
\remove_filter('the_content', 'wpautop');

src/Cache/AbstractManifestCache.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ public function setAllCache(): void
8888
$this->getVersion()
8989
);
9090

91-
Helpers::shouldCache();
92-
9391
if (!Helpers::isCacheVersionValid() || !Helpers::shouldCache()) {
9492
Helpers::deleteCacheVersion();
9593
}

0 commit comments

Comments
 (0)