-
Notifications
You must be signed in to change notification settings - Fork 800
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
Ensure core video block deprecations cannot be overriden #12926
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
This is an automated check which relies on |
Is this ready for a review, or still in progress? Do you think you could update the labels accordingly? Thank you! |
Hey @jeherve. It should be ready for review, I've added the label. First PR in the jetpack repo, so just learning the ropes. I'm an a11n, so I can look into D30059-code diff, but probably won't be able to sort it till next week. Shouldn't hold up a code review though 😄 |
talldan, Your synced wpcom patch D30059-code has been updated. |
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.
LGTM!
* Add initial changelog / testing list changes for 7.6 * Update stable tag to 7.5.3 * changelog: add #12957 * Changelog: add #12932 * Changelog: add #12867 * Changelog: add #12823 * changelog: add #12969 * changelog: add #13012 * changelog: add #12974 * Changelog: add #13059 * Changelog: add #13079 * Changelog: add #12924 * changelog: add #12954 * Changelog: add #12959 * Changelog: add #12977 * Changelog: add #12830 * Changelog: add #12926 * Changelog: add #12958 * Changelog: add #12999 * Changelog: add #13077 * Changelog: add #13083 * Changelog: add #13087 * Changelog: add #13110 * Changelog: add #13116 * Changelog: add #13117 * Changelog: add #12821 * Changelog: add #13120 * changelog: add #13139 * Changelog: add #13143 * Changelog: add #13147 * Testing list: add section about sync
* Add initial changelog / testing list changes for 7.6 * Update stable tag to 7.5.3 * changelog: add #12957 * Changelog: add #12932 * Changelog: add #12867 * Changelog: add #12823 * changelog: add #12969 * changelog: add #13012 * changelog: add #12974 * Changelog: add #13059 * Changelog: add #13079 * Changelog: add #12924 * changelog: add #12954 * Changelog: add #12959 * Changelog: add #12977 * Changelog: add #12830 * Changelog: add #12926 * Changelog: add #12958 * Changelog: add #12999 * Changelog: add #13077 * Changelog: add #13083 * Changelog: add #13087 * Changelog: add #13110 * Changelog: add #13116 * Changelog: add #13117 * Changelog: add #12821 * Changelog: add #13120 * changelog: add #13139 * Changelog: add #13143 * Changelog: add #13147 * Testing list: add section about sync
Related #12358
Noticed while working on WordPress/gutenberg#16348
Currently the technique used to extend the video block's behaviour overwrites the core video block's deprecated property:
jetpack/extensions/blocks/videopress/editor.js
Lines 106 to 112 in 4c63a49
At the moment this doesn't cause any issues since the core video block doesn't have a deprecated property. If one were to be added, the overwriting that jetpack does would cause invalid blocks.
Changes proposed in this Pull Request:
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
Testings is a little tricky, but something like this should enable reproduction of the issue:
<div>video test</div>
would workExpected (this branch)
No validation errors should be visible.
Actual (current master)
Activating Jetpack causes a validation error.
Proposed changelog entry for your changes: