Commit a420de604e2 for woocommerce
commit a420de604e240b38ff70102dedddd9ee25f39068
Author: Rafael Meneses <meneses.tio@gmail.com>
Date: Wed Oct 21 08:16:06 2026 +0100
Move the project notice below the GPL text so GitHub detects the license (#70041)
chore: Move the project notice below the GPL text in license.txt
GitHub detects a repository's license with licensee, which needs the
license file to match the canonical GPL text at 98% or better. The
project notice at the top of license.txt (title, copyright, the standard
"This program is free software" paragraphs and the Jigoshop and WooThemes
attributions) brings the match down to 79%, so GitHub reports no license
for the repository and the root package.json's GPL-2.0-or-later has
nothing to agree with.
licensee ignores everything after the "END OF TERMS AND CONDITIONS" line,
so the same notice placed after the GPL text is invisible to the
detector. Keep the GPL-2.0 text first and the full original notice,
unchanged, after it. Not a single line is removed; the file now matches
GPL-2.0 exactly and GitHub reports GPL-2.0.
Refs #61435
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
diff --git a/license.txt b/license.txt
index f520fd561a2..02580473c97 100644
--- a/license.txt
+++ b/license.txt
@@ -1,39 +1,3 @@
-WooCommerce - eCommerce for WordPress
-
-Copyright 2015 - 2026 by the contributors
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-This program incorporates work covered by the following copyright and
-permission notices:
-
- Jigoshop is Copyright (c) 2011 Jigowatt Ltd.
- http://jigowatt.com - http://jigoshop.com
-
- Jigoshop is released under the GPL
-
-and
-
- WooCommerce - eCommerce for WordPress
-
- WooCommerce is Copyright (c) 2015 WooThemes
-
- WooCommerce is released under the GPL
-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
@@ -373,3 +337,39 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+
+WooCommerce - eCommerce for WordPress
+
+Copyright 2015 - 2026 by the contributors
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+This program incorporates work covered by the following copyright and
+permission notices:
+
+ Jigoshop is Copyright (c) 2011 Jigowatt Ltd.
+ http://jigowatt.com - http://jigoshop.com
+
+ Jigoshop is released under the GPL
+
+and
+
+ WooCommerce - eCommerce for WordPress
+
+ WooCommerce is Copyright (c) 2015 WooThemes
+
+ WooCommerce is released under the GPL