Why GNU License?

It is nothing to do with clean room design. The fact is, a plugin pretty much has to interact with the code at the code level. This means in order to distribute it, it must also be GPL. If it were the case that you could ship a non GPL plugin for WordPress by virtue of it being ‘clean room’ and not interacting, you would have a lot more paid plugin sites than you currently do - and the Thesis case would never have emerged because there wouldn’t have been a problem.

Unless the plugin API never exposes anything of any kind (variables etc.) to plugins, and there is no shared memory between the two, then the plugins would have to become GPL.

It’s even explicitly set out under Frequently Asked Questions about the GNU GPL v2.0 - GNU Project - Free Software Foundation

If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. This means the plug-ins must be released under the GPL or a GPL-compatible free software license, and that the terms of the GPL must be followed when those plug-ins are distributed.

If the program dynamically links plug-ins, but the communication between them is limited to invoking the ‘main’ function of the plug-in with some options and waiting for it to return, that is a borderline case.

I personally see this as fairly clearly stating where the line in the sand is for Discourse - plugins need to be GPL too…