Skip to content

Commit

Permalink
Fix page including all allowed blocks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Dec 19, 2024
1 parent ba43d4b commit 5af52f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### [Unreleased]

* Add debug function to print all available blocks
* Fix page including all allowed blocks by default (default: none)

### 9.4.7: 2024-12-04

Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
// Accepts both string (all*/none-options only) and array (options + specific blocks)
'allowed_blocks' => [
'post' => 'all-core-blocks',
'page' => 'all',
'page' => [],
// 'page' => [
// 'all-acf-blocks',
// 'core/paragraph',
Expand Down

0 comments on commit 5af52f4

Please sign in to comment.