-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 compatibility layer for WP 6.2 #56464
Conversation
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ lib/compat/wordpress-6.4/class-gutenberg-rest-block-patterns-controller.php ❔ lib/compat/wordpress-6.4/class-gutenberg-rest-global-styles-revisions-controller-6-4.php ❔ lib/experimental/class-gutenberg-rest-template-revision-count.php ❔ lib/load.php |
@@ -3,7 +3,7 @@ | |||
* Plugin Name: Gutenberg | |||
* Plugin URI: https://github.com/WordPress/gutenberg | |||
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality. | |||
* Requires at least: 6.2 | |||
* Requires at least: 6.3 |
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.
This will also require changing the commit SHA for the performance test. See #54107 (comment).
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.
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 just tried another commit based on the logic you used in #54111; let's see if it works 🤞
Checked behaviour of Global styles revisions ( Also did a general smoke test of:
I've been meaning to prune |
bf29e2d
to
8270be8
Compare
8a7a9b4
to
d07d722
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.
Thank you for working on this!
I've done some general testing on viewing, editing, and saving:
- Navigation
- Patterns
- Templates
- Footnotes
- Revisions
Everything is looking good to me 👍 I didn't see any errors and all worked as expected.
Thanks for testing everyone! I did a further round of testing too and everything seems to be working correctly. I think this is ready for a final review! |
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.
- Navigation
- Patterns
- Templates
- Footnotes
- Revisions
I've just given this PR a smoke test with all these, too, while running 6.3 with this PR applied. All looking good to me as well.
Since none of us have run into any issues in testing and a few of us have tested it out now, I reckon this is good to try! ✨
✅ I updated the PHP Sync Tracking Issue for WP 6.5 to note this PR does not require a backport for WP 6.5. |
What?
Gutenberg only supports the current and previous WP version, so now that 6.4 is out, the compatibility files supporting 6.2 can be removed. This PR removes those files and fixes any obvious resulting fatals, but I'd thank everyone, especially those who have made PHP changes recently, to test that stuff is still working!
For reference, the corresponding PR after 6.3: #53451
Testing Instructions
Open all the pages, click around, check nothing's broken. In particular, there's a lot of changes in here related to templates, patterns, navigation and revisions so those areas are good to pay special attention to.