Repository navigation
fix(debug-extensions): resolve Plugin Check errors in the shipped plugin - #839
Open
josephfusco wants to merge 3 commits into
Open
josephfusco wants to merge 3 commits into
josephfusco wants to merge 3 commits into
Conversation
Plugin Check rejects "7.4+" and flags the mismatch with readme.txt, which says 7.4.
|
Contributor
📦 Plugin Artifacts Ready!Download from GitHub Actions run Available plugins:
See the "Artifacts" section at the bottom of the Actions run page |
Contributor
🔍 WordPress Plugin Check Report
📊 Report
❌ Errors (16)📁 .phpcs.xml.dist (2 errors)
📁 .env.dist (2 errors)
📁 .editorconfig (1 error)
📁 .gitattributes (1 error)
📁 phpstan.neon.dist (1 error)
📁 bin/build-docker.sh (1 error)
📁 bin/_lib.sh (1 error)
📁 bin/sync-package-version.sh (1 error)
📁 bin/run-codeception.sh (1 error)
📁 bin/install-plugins.sh (1 error)
📁 bin/install-test-env.sh (1 error)
📁 wpgraphql-debug-extensions.php (1 error)
📁 readme.txt (1 error)
📁 phpstan/constants.php (1 error)
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
The plugin header said BSD-0-Clause (linking to BSD-3-Clause), readme.txt said GPL-3, and composer.json said GPL-2.0. All three now say GPL-2.0-or-later, like the other plugins, and the plugin ships the GPL-2 LICENSE file they use.
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.
Fixes the real errors Plugin Check reports for the wpgraphql-debug-extensions zip. One commit per fix:
Requires PHP: 7.4+→7.4. Plugin Check only accepts a plain version. 7.4 matchesreadme.txtandcomposer.json(^7.4 || ^8.0).ABSPATHguards inactivation.php,deactivation.php, andsrc/Plugin.php.License
BSD-0-Clause(linking to BSD-3-Clause),readme.txtsaidGPL-3, andcomposer.jsonsaidGPL-2.0. All three now say GPL-2.0-or-later, like the other plugins, and the plugin ships the same GPL-2LICENSEfile they do.Testing
composer archiveand ranwp plugin check wpgraphql-debug-extensionslocally in wp-env, using the same options as the workflow in ci: run Plugin Check on the built plugin archive #830. The only error left is "Tested up to: 6.9 < 7.1".php -lpasses on the changed files.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with running Plugin Check locally and fixing the errors it reported.