-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Remove 4.2 deprecated features #10952
Conversation
@@ -169,11 +169,7 @@ export function mediaUpload( { | |||
caption: get( savedMedia, [ 'caption', 'raw' ], '' ), | |||
title: savedMedia.title.raw, | |||
url: savedMedia.source_url, | |||
mediaDetails: {}, |
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.
Is this the right change @jorgefilipecosta ?
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.
Loving the red. ❤️
/** | ||
* WordPress dependencies | ||
*/ | ||
import deprecated from '@wordpress/deprecated'; |
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.
Remove jest.mock
a few lines below as well.
@@ -293,7 +293,6 @@ function gutenberg_register_scripts_and_styles() { | |||
array( |
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.
@atimmer Some changes here to keep track of, for 4.2 merge to Core.
@@ -99,7 +91,7 @@ class TabPanel extends Component { | |||
className="components-tab-panel__tab-content" | |||
tabIndex="0" | |||
> | |||
{ this.props.children( Object.assign( new String( selectedTab.name ), selectedTab ) ) } |
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.
Sad to see this magic trick go :)
There appears to be a mobile test failure? cc @hypest |
👋 , thanks for the ping @aduth . Yeah, the mobile test fails because This should be easy to fix AFAICT. @youknowriad or @aduth , interested in filing a PR to the mobile repo to fix this? A good chance to get a PR merged to the mobile project with your name on it ;) |
2b4df44
to
bca2ef3
Compare
6f62143
to
8c92c85
Compare
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.
Needs rebase, but otherwise 👍
8c92c85
to
a26e0c9
Compare
…rnmobile/merge-blocks-on-backspace * 'master' of https://github.com/WordPress/gutenberg: Do not add isDirty prop to DOM (#11093) Format API (#10209) Remove 4.2 deprecated features (#10952) Update `@wordpress/hooks` README to include namespace mention (#11061) Feature: save lock control via actions (#10649) Fix usage of `preg_quote()` (#10998) Update plugin version to 4.1.1 (#11078) Improve preloading request code (#11007) Fix dynamic blocks not rendering in the frontend (#11050) Media & Text: Fixing vertical alignment of the image (#11025) Date: Mark getSettings as experimental (#10636) Improve handling of centered 1-col galleries with small images (#11040) Use better help text for ALT text input; fixes #8391. (#11052) # Conflicts: # packages/editor/src/components/rich-text/index.native.js
A lot of cleanup in this release, which is nice:
Todo