chore: change license to GPLv2 or later #804
Draft
+297
−633
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.
Summary
This PR changes the license from GPL-3.0 back to GPLv2 or later, which is the standard license for WordPress plugins and ensures compatibility with WordPress core.
Background
In PR #727 (commit 8c6193d, May 2024), the plugin header in
edit_flow.phpwas changed from the original GPLv2-or-later license to GPL-3. This was released in version 0.9.9.However, 0.9.9 shipped with inconsistent license declarations:
edit_flow.phpheader:License: GPL-3composer.json:GPL-2.0+(still the old value)package.json:GPL-2.0+(still the old value)LICENSEfile existedAfter the 0.9.9 release, commit 22551d3 (June 6, 2024) attempted to make the licensing consistent by adding a GPL-3
LICENSEfile and updatingcomposer.jsonandpackage.jsonto GPL-3. However, this was never included in a tagged release.Why This Matters
GPLv3 code is fundamentally incompatible with GPLv2-only code. It is not legally possible to combine code from the two in a single program and redistribute it without violating one of the licenses' terms. That means that someone using a strictly GPLv2-only plugin can't use a GPLv3-only plugin in the same site.
Changes
This PR updates all license references to GPLv2 or later:
edit_flow.php: Changed plugin header toLicense: GPLv2 or laterLICENSE: Replaced GPL-3 text with GPL-2 textcomposer.json: Changed toGPL-2.0-or-laterpackage.json: Changed toGPL-2.0-or-laterpackage-lock.json: Changed toGPL-2.0-or-laterContributor Approval
To relicense the contributions made since the GPL-3 change was introduced, we need approval from contributors. Please leave a comment to confirm you're happy for your contributions to be used under "GPLv2 or later":
(Note: dependabot contributions are automated dependency updates and don't require approval)
Test plan
Fixes #762 since #727 never added a valid string.
🤖 Generated with Claude Code