-
Notifications
You must be signed in to change notification settings - Fork 806
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
WordPress 6.2 compatibility #27795
Comments
Linking to this internal post as well with more info about dates and planning: p9dueE-6vE-p2 |
@Automattic/jetpack-agora I see that VideoPress is using custom |
See #27795 position prop is now deprecated for Dropdown and URLPopover, we must switch to the placement prop instead.
Follow-up of #27981 See #27795 Dev-note: https://make.wordpress.org/core/2023/03/08/requests-library-upgraded-to-2-0-5-in-wordpress-6-2/ Let's start using the updated library now available in WordPres 6.2.
I updated my local version to |
WordPress 6.2 is set to release on March 28, 2023.
Let's use this issue to keep track of anything that may come up until then.
get_page_by_title
is now deprecated (source)InputControl
andUnitControl
(source) (in VideoPress)position
prop is now deprecated forDropdown
andURLPopover
(source)switch_to_user_locale
instead ofswitch_to_locale( get_user_locale() )
(source) -- Not useful for us, we only doswitch_to_locale( get_user_locale() )
in one place, where we rely onget_user_locale()
to get the current user by default. Switching toswitch_to_user_locale
would mean that we would have to fetch the user, which wouldn't be simpler.InspectorControls
now that__experimentalGroup
is stabilized (source) (in VideoPress) VideoPress: Update comment on deprecated prop to mark it for later change #29541Requests
. (source)In addition to the above, we can follow the dev-notes that will drop here about the release:
make.wordpress.org/core/tag/dev-notes+6-2
As a bonus, there are new features we may be able to start using in some parts of the codebase, either now with a safeguard or once WordPress 6.2 is the minimum required version in Jetpack:
WP_HTML_Tag_Processor
(source) Refactor ImageCDN parsing to rely on HTML API instead of RegExps #32700For reference: prior art for WordPress 6.1 compat: #25417
Internal: p9dueE-6vE-p2
The text was updated successfully, but these errors were encountered: