Bugfix: Tabs subtitle visibility / visibility reactivity #858
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses two bugs we came across recently:
To fix these, we made the following changes:
wp i18n make-pot . languages/kadence-blocks.pot. It seems this hadn't been done in a few weeks, so that's why there are many more changes to this file beside the new visibility setting. If there's a different way this file is typically generated, I can make that adjustment.saveConfigState()function in block visibility to make copies of the config object and pass a callback touseState(). This ensures a fully reactive config object that properly syncs in the reactivity cycle.Checklist
Block specific checklist (where relevant)