@mav Sort of. It's "infectious" in that any derivative work must take on the same license. If you, for example, use a GPL library to build a website, all other parts of that website are then also licensed under GPL.
This is why all WP themes must be GPL licensed. As a result, GPL and MIT code are incompatible together.
@cferdinandi This is a really well thought out article but I am confused about one thing:
"But GPL is sticky, so if you release the project you built using it, you need to license your entire project under the same license."
I thought you just had to release the portion of the code that was GPL, i.e. you use one library, that's the only part that must be GPL. I take it that's not correct?
@cferdinandi The Expat license allows for exactly the same things the GNU GPL does, which is what makes them compatible. E.g., a non-commercial software license would not be compatible with the #GNU#GPL since it limits how you can use a program, something the GNU GPL does not.
@cferdinandi The GNU GPL doesn't infect anything, it is entirely up to the person incorporating things to decide on what to do.
Expat licensed code and GNU GPL licensed code can be freely mixed, WP themes _CAN_ be licensed under the Expat license, but the entirety is under the terms of the GPL (that is what compatibility means).
I don't know where you have read that, or who said that but it is completely wrong.