Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InnerBlocks: Fix regression where setting a template also locked it #7723

Closed

Commits on Jul 5, 2018

  1. InnerBlocks: Fix regression where setting a template also locked it

    InnerBlocks applied template sync on each update. This created a bug where if locking was not set when inserting or removing a block the template mechanism reverted the action.
    This commit makes sure we only sync with the template if templateLock equals "all" or if the template contains inner blocks and the blocks do not contain them any inner block.
    jorgefilipecosta committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    128946a View commit details
    Browse the repository at this point in the history