Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the license for Gutenberg blocks #5281

Closed
caraya opened this issue Feb 27, 2018 · 1 comment
Closed

What's the license for Gutenberg blocks #5281

caraya opened this issue Feb 27, 2018 · 1 comment
Labels
[Type] Question Questions about the design or development of the editor.

Comments

@caraya
Copy link

caraya commented Feb 27, 2018

What's the licensing for Gutenberg blocks? Will it be ok to publish blocks to the Wordpress Marketplace?

Since #2298 was raised, React moved to the MIT license. This is not GPL and, although they are compatible, Automattic will not accept dual licensed code in the Marketplace for either themes or plugins. Matt explained the situation in There is No Such Thing as a Split License

How does the inclusion of React (and the many licenses included in its dependencies) affect this position? If people start creating blocks will the restrictions for non-GPL code be lifted in light of Matt's strong stance on the issue?

@pento pento added the [Type] Question Questions about the design or development of the editor. label Feb 27, 2018
@pento
Copy link
Member

pento commented Feb 27, 2018

Thank you for the question, @caraya!

Gutenberg is licensed under the GPLv2+, the same as WordPress Core. The MIT license is considered GPL compatible by the Free Software Foundation, which allows us to use React in Gutenberg.

In Gutenberg, blocks are programmed in a similar way to widgets or other WordPress plugins, they are directly linked to WordPress' APIs. With that in mind, the advice we received from the Software Freedom Law Center years ago also applies to the JavaScript that you write to create blocks: the code is directly linked to WordPress' (or Gutenberg's) GPLv2-licensed JavaScript, so must have a GPLv2-compatible license.

And so, the overall position of the WordPress project remains unchanged: plugins or themes hosted on the WordPress.org directories must be GPLv2 compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

2 participants