While in a LOCKED template, a core/group block set to 'templateLock' => false
will lose priority, upon publishing
#29799
Labels
[Block] Group
Affects the Group Block (and row, stack and grid variants)
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
While in a LOCKED template, a core/group block set to
'templateLock' => false
will lose priority/reset to true, upon publishing preventing the user from modifying any child block under the core/group block.Step-by-step reproduction instructions
'template' => [ ... ]
on an existing or new post type, custom or not.'template'
.'templateLock' => false
.Expected behaviour
Ideally, core/group blocks should have their own environment, and not be affected by the global template behaviour. The ability to insert or switch blocks within the core/group block should remain if set to
'templateLock' => false
. Behaviour within a core/group should only depend on the'templateLock'
attribute.Actual behaviour
Upon publishing, the
'template_lock' => 'all'
takes priority over the core/block'templateLock' => false
. You won't be able to add a new block nor to switch to an existing one. A warning will be displayed that the template as change.Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: