This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Enable status button if current theme is not active. #132
Merged
Merged
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e696e8f
Enable status button if current theme is not active.
mohdsayed 80fe277
Ensure that api.previewer.query is extended properly and only once.
mohdsayed 023a0a6
Save previewing theme with customizer state query params.
mohdsayed a372282
Enable update button for 4.6.x when theme is not active
mohdsayed c71add1
Add current theme to preview link and enable save button when you swi…
mohdsayed 58f0ce9
Enable status button when ajax request fails.
mohdsayed 7a6330a
Improve disable status button logic and review feedback.
mohdsayed cc2f54d
Fix condition for enabling status button when changing themes.
mohdsayed 26f7316
Update save button disable condition for 4.6.x when theme is changed.
mohdsayed d43b570
Ensure snapshots can load for previewing theme switch; re-use is_them…
westonruter 2559457
Fix casting of booleans and numbers to strings in PHP exports to JS
westonruter 9ca3ff2
Ensure frontend preview link gets customize_theme param in theme swit…
westonruter a71adbb
Remove uuid from preview link after publish
mohdsayed eb003e3
Revert the previewingTheme value.
mohdsayed 52694b6
Ensure setup_theme is triggered in test so that WP_Customize_Manager:…
westonruter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad you caught this. It's something I was noticing in the case of setting validation errors, where I'd get a validation error message with a control but the Publish button would remain disabled.