-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme Export: Restore appearanceTools when exporting a theme (#39840)
* Theme Export: Restore appearanceTools when exporting a theme * update unit test * Rename TO_OPT_IN to APPEARANCE_TOOLS_OPT_INS * Unset appearanceTools we don't want to pass this to the block-editor store. * Rename do_opt_out_of_settings to use_appearance_tools_setting * Add unit test for desired behaviour * Set appearanceTools if all opt-ins are true * Add unit test for desired behaviour at the block level * Make it work at the block level * Make the code more compact * Document & inline all code into get_data * Update PHPDoc * change inline comments into a comment block to keep the linter happy * fix linting issues Co-authored-by: André <[email protected]>
- Loading branch information
Showing
2 changed files
with
156 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters