Skip to content

Commit

Permalink
Merge pull request #2 from dsturm/patch-2
Browse files Browse the repository at this point in the history
Registration of core blocks fails on WordPress 5.5
  • Loading branch information
kellymears authored Aug 16, 2020
2 parents eca06a8 + e3983f5 commit 3a8f05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/BlockTemplatesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function register(): void
{
$this->blocks = Collection::make();

add_action('init', [$this, 'registerBlockTemplates']);
add_action('init', [$this, 'registerBlockTemplates'], 9);
}

/**
Expand Down

0 comments on commit 3a8f05f

Please sign in to comment.