The plugin directory’s licensing guidelines have been updated. The guidelines will now allow code that is licensed under (or compatible with) version 3 of the GPL.
The guidelines still encourage use of “GPLv2 or later,” the same license as WordPress. However, we understand that many open source libraries use other licenses that are nonetheless compatible, such as GPLv2 only, GPLv3, and Apache 2.0.
Now may be a good time for plugin authors to review their plugins to ensure a license is specified. You can add License and License URI headers to readme.txt and the plugin’s headers. (You may also wish to include a copying permission statement.) For example:
License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html
You can see this used in the sample readme.txt.
This change brings the guidelines in line with the themes directory, which has for some time accepted GPLv3-compatible code. (Probably a good time to note that Creative Commons licenses are still incompatible with the GPL, and the theme and plugin directories.)
Mike Schinkel 6:31 pm on April 30, 2012 Permalink | Log in to Reply
Kudos!
Alid 7:53 pm on April 30, 2012 Permalink | Log in to Reply
It would be nice to have a list with (in)compatible licenses for users which aren’t familiar with this topic.
Since it’s also a problem if your plugin is GPL but your are using an external lib which is incompatible and you didn’t know that.
Andrew Nacin 7:56 pm on April 30, 2012 Permalink | Log in to Reply
Indeed. The guidelines link to GNU’s compatible licenses list: http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses.
John James Jacoby 8:01 pm on April 30, 2012 Permalink | Log in to Reply
Do you recommend still packaging a license.txt with plugins, or is the link in readme.txt sufficient?
Andrew Nacin 12:38 am on May 1, 2012 Permalink | Log in to Reply
It’s good practice to include a license.txt or COPYING file. At the very least, you should probably include the copying permission statement, which would state, “You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.” At worst, as long as it is specified somewhere in the readme or code, at least people know what your intent is.
And, if it is in the readme, we will be able to show it on your plugin’s page in the future.
Herb Miller 9:56 pm on April 30, 2012 Permalink | Log in to Reply
I used the readme validator twice today. it worked earlier this afternoon then failed this evening. I was expecting some explanation would surface eventually. Currently the validator has trouble with the License: lines – sometimes suggesting that the description is too long as well
Mika Epstein (Ipstenu) 12:28 am on May 1, 2012 Permalink | Log in to Reply
I’ve seen the same issue with the readme. Adding in the license lines gets it pushed into the Desc.
I tend to use the copying permission, with “This file is part of PLUGINNAME, a plugin for WordPress.” and then saying the license should have come with WP. But then again I release GPL2.
Andrew Nacin 12:39 am on May 1, 2012 Permalink | Log in to Reply
I pushed some changes earlier to fix some issues with the validator for the License lines. Can you still reproduce?
Mert Yazicioglu 9:49 am on May 1, 2012 Permalink | Log in to Reply
@Nacin: Yes. http://wordpress.org/extend/plugins/wordpress-move/
David Decker 11:12 am on May 1, 2012 Permalink | Log in to Reply
It seems to add now the License URL to the short description word counter…
Some plugins with a real short description work correctly, some with a longer like the mentioned “WordPress Move” work not.
I’d like to see this fixed, as the update with the 2 new license short tags in the header is really helpful – especially when this is displayed on the plugin page on .org!
Another suggestion for the short description: What about taking another short tag like:
Short Description: Here goes it…
or:
Intro: Here goes it…
Seems to be a bit more self-explaining as a lot of plugin authors still mix it all up and use the same – long – description everywhere making it less readable for users.
Just my 2 cents.
Thanks for all your hard work with repo – much appreciated! You guys really ROCK!!
-Dave
Andrew Nacin 5:03 pm on May 1, 2012 Permalink | Log in to Reply
This was fixed yesterday, but a few plugins had pages generated before then. I went through and re-generated the data for the 12 plugins affected. Should be all set.
vsgloik 7:18 am on May 1, 2012 Permalink | Log in to Reply
The readme standard rocks again.
Herb Miller 8:16 am on May 1, 2012 Permalink | Log in to Reply
thanks, now I have more work ensuring all my source files have both Copyright AND (currently missing from some) a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License.