You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tabs: Lock top-level structure and disable visibility controls (#77370)
* Tabs: Lock top-level structure and disable visibility controls
Prevent users from removing or reordering the tabs menu and panels by
locking the parent Tabs template, and hide the visibility panel on tab
blocks where per-block hiding is not meaningful. Inner menu items remain
editable so tabs can still be added or rearranged.
* Tabs: Remove redundant `lock` attributes from TABS_TEMPLATE
The parent `useInnerBlocksProps` already sets `templateLock: 'all'`,
which cascades to descendants and prevents removal/insertion/move.
The per-child `lock: { remove: true }` entries were therefore no-ops.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
0 commit comments