Are Block/ FSE theme CSS files exempt from GPL?
-
Back in 2009, leadership clarified that CSS files were not included in WordPress’s GPL license.
In the WordPress themes, CSS files and images exist purely as data to be served by a web server. WordPress itself ignores these files[1]. The CSS and image files are simply read by the server as data and delivered verbatim to the user, avoiding the WordPress instance altogether. The CSS and images could easily be used with a range of HTML documents and read and displayed by a variety of software having no relation to WordPress. As such, these files are separate works from the WordPress code itself
With the advent of the Block/Site Editor, design tokens, official asset building, and all the other changes to WordPress, I am wondering if the above exemption still applies.
Conversely, are block templates/ template parts/ patterns and other
.html
files exempt from the GPL license, or does the use of wp-flavored comments mean they’re still considered part of the license?What about
theme.json
or other JSON files? Are they just data that the server can read and thus excluded from WordPress’s license?The page I need help with: [log in to see the link]
- The topic ‘Are Block/ FSE theme CSS files exempt from GPL?’ is closed to new replies.