-
Notifications
You must be signed in to change notification settings - Fork 382
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
Revamp notice appearing in AMP Enabled toggle, revamp how plugin determines whether AMP can be disabled #5010
Merged
Merged
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
5bcc30a
Default to paired when amp theme support added
westonruter f3ba560
Eliminate use of theme support flags and amp_supportable_templates fi…
westonruter 6f037ab
Merge branch 'develop' of github.com:ampproject/amp-wp into update/th…
westonruter 490fe5a
Eliminate use of post type support to control post type support
westonruter 723a7bb
Remove test kept after merge conflict
westonruter a6596ba
Fix tests for changes to post type support
westonruter dc1d73a
Add tests for migrating supported_post_types
westonruter 88d1c8b
Migrated supported_templates to be stored as associative array
westonruter 14aeece
Remove redundant isset checks with alternative to appease PhpStan
westonruter 1919ec1
Remove _doing_it_wrong() since templates_supported is supported only …
westonruter ab52015
Add missing semicolons from JS
westonruter d85ec63
Make sure toggling all themes supported does not destroy individual s…
westonruter 668d0d9
Migrate theme support flags to options when upgrading
westonruter 2a13776
Defer doing amp_plugin_update until end of after_setup_theme
westonruter 75487f4
Remove obsolete checks for password-protected posts
westonruter 270d604
Remove obsolete error codes for page-on-front and page-for-posts
westonruter e1f3871
Fix tests and finish changes for get_status_and_errors
westonruter 7a0ab77
Revamp AMP Unavailable notice in post editor
westonruter 3a326c3
Restore using non-associative arrays to store supported post types an…
westonruter 8c51a9d
Remove obsolete assertion
westonruter 3315937
Use static closures
westonruter a39c212
Remove duplicate test data
westonruter fefff34
Remove invalid todo
westonruter dac8963
Merge branch 'develop' of github.com:ampproject/amp-wp into update/th…
westonruter 6e190c5
Merge branch 'develop' of github.com:ampproject/amp-wp into update/th…
westonruter 7df6a05
Use end of init instead of end of after_setup_theme to do DB upgrade
westonruter e07656a
Improve styling of AMP Unavailable notice
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
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
Oops, something went wrong.
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.
Byebye!