-
Notifications
You must be signed in to change notification settings - Fork 178
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
Bump WP version requirement to 6.4 #13731
Conversation
Size Change: 0 B Total Size: 2.76 MB ℹ️ View Unchanged
|
Plugin builds for 26321cb are ready 🛎️!
|
@swissspidy , I wasn't sure if Also, the PHP Unit tests against WP trunk are failing here too. |
This never needs changing anymore. I will update the issue template accordingly. Sorry for the confusion.
Yeah they will be failing everywhere :-) I'll have to find the core change that caused this and will check if we really need to adjust our tests or not. But that's something for a new issue/PR. Let's include the post meta revision enhancement I mentioned on the issue here in this PR as well. We can now also remove the Generally speaking, with the bump to 6.4 we want to see adopt all the new features in 6.4 that are relevant for this plugin. The above are just a few examples that I saw, based on the field guide. |
Hi @swissspidy, I have used the The error that appears is: This is thrown in if ( ! empty( $object_subtype ) && ! post_type_supports( $object_subtype, 'revisions' ) ) {
_doing_it_wrong( __FUNCTION__, __( 'Meta keys cannot enable revisions support unless the object subtype supports revisions.' ), '6.4.0' );
} This shouldn't be happening, since we're passing |
The issue is that Just had a quick look at it and the reason is surprisingly trivial: The Unfortunately this kind of stuff hasn't really been caught by tests (until now). |
Summary
The goal of the PR is to Bump WordPress minimum to 6.4 in following:
readme.txt
web-stories.php
minimum_supported_wp_version
inphpcs.xml.dist
tests-e2e.yml
andtests-unit-php.yml
Story_Post_Type
class, ensurePOSTER_META_KEY
andPUBLISHER_LOGO_META_KEY
are part of revisionsProduct_Meta
class, ensurePRODUCTS_POST_META_KEY
is a part of revisionsUser-facing changes
Not applicable.
Testing Instructions
Not applicable.
Reviews
Does this PR have a security-related impact?
No.
Does this PR change what data or activity we track or use?
No.
Does this PR have a legal-related impact?
No.
Checklist
Type: XYZ
label to the PRFixes #13703