When the open source agreement is written as GPL, what should be noted when modifying and delivering to the customer.
When a content management system specifies that it is based on GPL, the focus is not on whether it can be modified, but on whether the modification should be open sourced together. The official authorization page of WordPress states directly: The software is released under GPLv2 or later version, and part of the agreement specifically restricts derivative works, such as plugins and themes, which inherit the GPL license; the same page also acknowledges that there is a legal gray area about what constitutes derivative works, but the official stance is that plugins and themes are derivative works. It is easiest to cross this line when delivering enterprise websites.
What is said in the text of the agreement, but not what is not said.
First, distinguish the three layers of information, many misunderstandings come from confusing these three layers.
The first layer is the license of the software entity. The official page writes GPLv2 (or later), which means users can act according to GPLv2 or a higher version; a copy of the agreement text is provided with each distribution.
The second layer is the requirements for derivative works. The GPL's contagious nature lies in the concept of 'derivative works', which inherit the same license.
The third layer is a gray area. The official itself admits that what counts as a derivative work is not entirely clear in law, but only gives its interpretation stance. This layer is not a space that can be freely interpreted: when it involves external distribution, the definition should be based on legal opinions, not the technical intuition of developers.
There is also a key point that the agreement does not address: it does not answer the difference between 'only for internal use' and 'given to the customer'. The obligations of the GPL are mainly triggered by distribution, and whether the scenarios of delivering to the customer, listing on the theme market, or transferring with the server constitute distribution require judgment according to the specific contract.
Why is the line of derivative works prone to pitfalls
The root cause of the fundamental reason for the overlap of technical and legal boundaries is to fall into pitfalls.
From a technical perspective, plugins and themes extensively call interfaces of the host system and rely on its data structure, looking 'just a call'. From the description on the authorization page, WordPress and Drupal both consider such extensions as works that need to be processed according to GPL, and Drupal has also written a page of authorization for themes and modules. That is to say, two projects using the same license have given a more strict interpretation on this issue.
The three most common actions that cause problems in practice: selling the customized theme to the second customer; distributing plugins with private code on public channels; omitting the main text of the agreement and the modification instructions at the time of delivery. The first two involve external distribution, and the third is a programmatic oversight, but both will become points of contention later.
The three things to bring when delivering to the customer
When delivering a customized site to the outside world, writing these three things into the delivery list can significantly reduce the space for subsequent disputes.
| Deliverables | content | Why must it be brought |
|---|---|---|
| Copy of the agreement | The license text provided with the software | The authorization page explicitly requires that the copy of the agreement be provided with the release |
| Modification instructions | What was changed, which files are new | Define the scope of derivation and responsibility boundaries |
| Scope definition | Which parts are handled under GPL and which belong to independent content | Gray areas require a written position, not recognition after the fact |
The third item is the most easily overlooked and yet the most critical. It does not have to be a legal opinion, but it must be clear: whether the template and business code are licensed together with the site, whether the customer can redistribute, and whether assets such as images and copywriting are not within the scope of code licensing. Write these on paper so that both parties have a common understanding of 'what was delivered.'
Additionally, it should be reminded that content assets and code are two separate lines. Articles, images, and trademarks on the site are usually not handled under the code license, and a separate statement of the authorization scope should be made upon delivery; otherwise, customers may mistakenly believe that obtaining the site backend equals obtaining the full rights to use all the materials.
Boundary between multiple sites and secondary development
If the customer's requirement is for 'a system to run multiple sites', the boundary will be more subtle. Multi-site management is a form of operation, referring to the maintenance of multiple independent sites within a single system, suitable for multi-brand or multi-theme scenarios; it itself does not change the license status of the code. However, as soon as a customized template of one of the sites is taken apart and sold externally, the nature changes from 'internal use' to 'distribution expansion'.
It is recommended to ask questions in order: Is the change only for this customer; will it be copied to the second customer; will it be packaged into a publicly downloadable extension. Once the third question is answered 'yes', it should be treated as a derivative work, and the above delivery list should be completed.
The technology stack itself also affects the judgment of the transformation cost. Systems developed with GoLang, using the Iris framework and GORM, have a different expansion form than the 'install a plugin' model under the PHP ecosystem. Customization more falls on the template layer and business logic layer, and it needs to be separately stated whether this part belongs to the content to be opened source when delivered. When selecting, if it is expected that there will be a large number of distributed extensions to the outside, this layer should be calculated in advance in the contract.
Authorization checklist for selection
The authorization writing of different projects varies greatly, and it cannot be summarized with a sentence like 'they are all open source'. Check in the order below.
First, look at the license of the project itself: is it the GPL series, BSD, or MIT, and whether it is specified as 'or later'. Then look at the official stance on extensions: whether there is a special statement like the two projects above, indicating whether plugins or themes inherit the license. Third, look at the trademark and brand restrictions: the code can be reused, but it does not mean that the site name or logo can be used arbitrarily. Fourth, check if there is a dual license or commercial license channel, and whether it is required to provide a copy of the agreement with the release. Finally, consider whether you will distribute: running internally and selling externally have completely different obligations.
Viewed from the perspective of applicable scenarios, there are also great differences in the needs of corporate websites for small and medium-sized enterprises, marketing websites, government portals, cross-border e-commerce websites, and personal blogs. Government portals and financial customers often require code traceability and non-disputed authorization in the contract; cross-border e-commerce websites are more likely to customize themes and reuse them for multiple sites, and these two scenarios both require clarifying the scope of authorization before starting work, rather than discussing it only after delivery.
Common questions
If used internally by the customer, do we need to make open source modifications?Whether it triggers open source obligations mainly comes from distribution activities, and pure internal deployment usually does not involve external distribution; however, the case where the customer transfers the site to a third party needs to be defined in the contract.
Can the theme purchased be resold?It depends on the theme's license terms. If it is handled under the GPL, the license and modification description must be provided with the second sale; if the seller has imposed additional restrictions, it is necessary to verify whether these restrictions are valid.
Should the content images be opened source together?No, the content and code belong to different license objects, and the scope of use of the materials can be separately stated when delivered.
Can we directly copy others' explanations?It is not recommended. The stance on the license page represents the views of the project itself, not a judicial conclusion; when involving external distribution, the legal opinion should be taken as the standard.
How can we determine whether a CMS license is clean?Check if the protocol file in the repository is provided with the code, whether it explains the extension of the license handling, and whether there are brand usage restrictions. Projects that are clear on all three points usually have a smaller dispute space in the future.