Repository navigation
Compat Checker: read Tested up to from readme.txt - #275
Merged
Merged
Conversation
Plugin Check now rejects a Tested up to header in the main plugin file, so extensions that drop it got a false "untested with WordPress" notice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UjpEpLbUmxA2wpbyS3uX9L
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of STORMA-263 and PIN4WOO-184
Changes proposed in this Pull Request:
Tested up toheader in the main plugin file as an error (plugin_header_tested_up_to_not_allowed), because WordPress reads that value fromreadme.txtonly. Extensions that removed the header, like Coupon Campaigns and Pinterest on trunk, got a false "untested with WordPress 7.1" admin notice from the compat checker. On Coupon Campaigns, that notice also breaks QIT's coreproduct-reviewsE2E test.Tested up tofrom the plugin'sreadme.txt. A header value, if present, still takes precedence.Detailed test instructions:
Tested up tofrom the main file and keepTested up to: 7.1inreadme.txt, on WordPress 7.1.trunk, wp-admin shows "… is untested with WordPress 7.1". On this branch it doesn't. Bump the plugin version, or clear thewc_grow_compat_checker_*transient, because plugin data is cached per version.Tested up to: 6.8. The notice comes back.Verified with
wp eval-fileon WordPress 7.1.2 (TestedWP / notice):''/ shown7.1/ not shown6.8/ shown6.8/ shown''/ shown''/ shown''/ shown6.8/ shownAdditional details:
Consumers pick this up with
composer update woocommerce/growonce it's published to thecompat-checkerbranch.🤖 Generated with Claude Code
https://claude.ai/code/session_01UjpEpLbUmxA2wpbyS3uX9L