Does WordPress being under GPL actually necessitate that the tools created for it (plugins, themes) must also be under GPL? Is so, then why?
I'm confused about this idea that because WordPress is under GPL, the plugins and themes all have to be under GPL as well. My understanding of GPL includes that you can't distribute something that is partially GPL and partially proprietary; but if you distribute a proprietary plugin, shouldn't it be fine for a user to use that plugin within their GPL copy of WordPress? The problem should only arise if the user tries to distribute their WordPress installation along with the proprietary plugin, because now they are distributing something that violates GPL. Hosting a website that uses both GPL and proprietary content does not violate the GPL license as hosting a site is not usually interpreted as distribution of its content (clearly, copyrights still apply).
If WordPress won't allow you to add a plugin to https://wordpress.org/plugins/ that isn't GPL, that's fine. But there isn't anything wrong with sharing a proprietary plugin elsewhere, right?
Maybe if your proprietary plugin calls a WordPress function, say, wp_get_current_user()
, then someone could claim that your plugin violates GPL because it references something from GPL while being itself proprietary? I'm not sure of this, but it's the best explanation I've thought of.
In refutation to the suggestion in my last paragraph, here is an analogous situation: https://askubuntu.com/questions/346514/is-steam-for-linux-an-open-source-application-does-it-deserve-to-be-on-linux. Linux is under GPL; Steam for Linux is not. Like what I had been suggesting in the case of WordPress plugins, it's up to the user whether they will use it.