Are Wordpress Plugins GPL License? Can Anyone Use My Plugin Code

by tman47
12 replies
I am in the process of having a Wordpress plugin created by a programmer that specializes in PHP and WP plugins. When I first approached him on this and wanted to protect the code involved, he told me that any plugin developed for Wordpress falls under the same license as Wordpress - GPL

Since I am having this plugin made for resale, I am a little concerned about theft of code... but proceeding anyways since I can also use it myself for numerous sites I own if I choose not to sell it.

After reading the WP GPL, it appears that anyone can take any code in Wordpress or any wordpress plugin, use it, modify it and if they want, resell it as their own.

Is this true... or is there a way to protect a wordpress plugin that I create (should say have made).

I'd hate to market this plugin only to have someone take it and run with it if they have a better marketing channel or subscriber lists etc.
#code #gpl #license #plugin #plugins #wordpress
  • Profile picture of the author ahmiz
    Yes, it's true, and no you can't really protect the plugin. Plenty of plugins have been sold and made their owners rich. If you're still concerned, you can always offer superior support which anyone stealing your code likely won't be able to provide.

    See here for more info: WordPress GPL License Explained for Theme and Plugin Developers
    {{ DiscussionBoard.errors[5693396].message }}
    • Profile picture of the author Cataclysm1987
      I'd recommend adding some sort of security key to your plugin that verifies it on your website. That is usually secure enough to ward away 90 percent of curious hackers who are too lazy to create their own plugin and therefore usually too lazy to hack yours if you have any kind of security on it.
      Signature

      No signature here today!

      {{ DiscussionBoard.errors[5695233].message }}
  • Profile picture of the author Nochek
    I offer my floatlink plugin for $10 (free to warroom members) and have already found a "nulled" version on a black hat forum (it had my name removed from the php code, which wasn't visible to end users anyway).

    It took me about 6 hours to develop where I wanted it, I've sold 24 copies, which means I more than paid for development and marketing, but it only took a month before free versions were available. However, Those free versions won't have easy access to updates, the 10% discount on all Nochek Solutions software, free general support and $5 integration, etc.

    Sure, they can download my plugin for free somewhere, but the idea is to offer enough services and essentials to make it worth purchasing. No matter what, when you give someone software it is no longer yours, license be damned. It doesn't matter the encryption used, the language, the programmers skill, the licensing callbacks, etc. All that is fluff to work around, because you have given them the software.
    Signature
    Nochek Solutions Presents:
    The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!
    {{ DiscussionBoard.errors[5696336].message }}
  • Profile picture of the author AdWorkMedia
    Since anyone can view WordPress plugin source code you should consider using an encryption program to secure your PHP code, although there is no guarantee that this precaution will stop advanced users from cracking it to see the source code.

    The best solution would be to host the files/service yourself and have users subscribe to the service. That's not really possible with WordPress plugins since they cannot contain third party links, but it would be possible if you moved this application to a standalone PHP script.

    good luck!
    Signature


    AdWork Media » Global Affiliate Network & Content Locking Solutions

    Custom Platform, Flexible Lockers, Offers For Every Country
    {{ DiscussionBoard.errors[5696860].message }}
    • Profile picture of the author pbarnhart
      Originally Posted by AdWorkMedia View Post

      The best solution would be to host the files/service yourself and have users subscribe to the service. That's not really possible with WordPress plugins since they cannot contain third party links, but it would be possible if you moved this application to a standalone PHP script.

      good luck!
      Actually, quote a few Wordpress plugins 'call home' - using several different options for remote content, including Akismet. Some are as simple as checking for new releases or news items. Several premium plugins depend on license keys and remote content for their functionality. There are several good Wordpress Plugin development books and tutorials available.

      Check with View Profile: ProEFI (Andrew Hunter) who has a well-reviewed WP Plugin WSO. It has what you are looking for.
      {{ DiscussionBoard.errors[5697874].message }}
  • Profile picture of the author RichardWing
    Here is a interview with Matt Mullenweg himself speaking specifically on GPL.

    All themes and plugins are GPL according to him.

    Matt Mullenweg: WordPress and the GPL | WordPress.tv

    Richard Wing
    623-505-6302
    skype - richardwing
    Signature

    Recent Release | FB Chat & Menu Widget Generator http://supersellertools.com/wpfbchatwidget/

    http://www.SuperSellerSupport.com | My Facebook Profile http://facebook.com/azrichardwing

    {{ DiscussionBoard.errors[6522143].message }}
  • Profile picture of the author FredBliss
    Originally Posted by tman47 View Post

    Since I am having this plugin made for resale, I am a little concerned about theft of code... but proceeding anyways since I can also use it myself for numerous sites I own if I choose not to sell it.

    Is this true... or is there a way to protect a wordpress plugin that I create (should say have made).

    I'd hate to market this plugin only to have someone take it and run with it if they have a better marketing channel or subscriber lists etc.
    These are great questions, and I also wrestled with them very recently in my first for-profit project. I come from spending the last 6 years firmly planted in project-by-project open source work where I bill per hour for taking high level requirements and turn them into working tools. I develop on an LGPL php framework, and none of my code is protected.

    * Protecting code via obfuscation, bytecode protection, etc. is a waste of time. Not only is it exceedingly easy to de-obfuscate all of the lighter tools out there with basic knowledge, I personally think it invites people to try.

    * Deeper forms of encryption like bytecode via IonCube or Zend Guard require special modules to be installed on every server the code needs to be run on. You might as well flip off 98% of your potential buyers.

    * To have a problem with code piracy is a good problem to have - it means you have reach into the marketplace with something in-demand. Instead of treating those unlicensed users as cheats or criminals, turn it into an opportunity to build a loyal customer relationship. You may want to even once established consider putting a bounty on unlicensed software to attract these folks in for a legit product. My belief is this would only work if you have something more to offer on the back-end, like some level of priority support, upgrades that include not just fixes but new features, or something else of ongoing value.

    * Leaving your code exposed will provide the seeds of community around your brands and products and services. Invite collaboration, don't forestall it.

    * Fighting this battle is like whack-a-mole. We all remember that game, right? Another damn mole always pops up. The same is true. Better to have the mole promoting your product, submitting feedback/bug reports and loving your positive spirit of collaboration instead of wanting to prove to you they can hack your stuff.

    Plenty of other good reasons too, but this is getting long-winded. HTH!
    {{ DiscussionBoard.errors[6522841].message }}
  • Profile picture of the author marcuslim
    I take it as a given that whatever you produce will eventually be distributed legally or not. I don't really think about it too much. As someone said, offer the best support possible in a way only you can, because no one else knows the code as well as you do.
    Signature
    {{ DiscussionBoard.errors[6544183].message }}
  • Profile picture of the author Terry Crim
    As far as I know there is no such thing as perfect protection and it is 100% guaranteed that anything you come out with will be shared for free whether you want it to be or not.

    The best advice I heard on this is don't be a one shot deal. In other words don't focus your efforts on only one product, you do not have income security on only one product.

    I researched the wordpress issue in regards to licensing. My understanding is that anything that connects to or is "plugged in" to wordpress and/or it's database must be licensed under GPL. Even if you create a script that connects to the wordpress database, totally bypassing the wordpress core files also must be licensed under the GPL.

    Themes also must be under GPL but individual assetts like photographs, images, css etc... do not.

    That however does not mean you can't sell your plugins or themes, just that they must be licensed under GPL when or if you do. If you don't like that then I guess from the creator of wordpress, don't develop for wordpress there are plenty of other CMS's out there.
    {{ DiscussionBoard.errors[6546134].message }}
    • Profile picture of the author SteveJohnson
      Originally Posted by Terry Crim View Post

      ... Even if you create a script that connects to the wordpress database, totally bypassing the wordpress core files also must be licensed under the GPL.
      ...
      This part is inaccurate. If a script doesn't require any WP files to be loaded, it doesn't have to be GPL. WP doesn't 'own' the database.

      The GPL licensing of WP didn't come from 'the creator of wordpress', but from the original b2/cafelog blogging script, which WordPress is a fork of, thus inheriting the GPL license.
      Signature

      The 2nd Amendment, 1789 - The Original Homeland Security.

      Gun control means never having to say, "I missed you."

      {{ DiscussionBoard.errors[6547380].message }}
      • Profile picture of the author Terry Crim
        Originally Posted by SteveJohnson View Post

        This part is inaccurate. If a script doesn't require any WP files to be loaded, it doesn't have to be GPL. WP doesn't 'own' the database.

        The GPL licensing of WP didn't come from 'the creator of wordpress', but from the original b2/cafelog blogging script, which WordPress is a fork of, thus inheriting the GPL license.

        You need to go read the interview and watch the videos back when there was debate about this between the theme creators and wordpress licensing, because according to the creator of wordpress, the wordpress database is considered part of wordpress.

        He made a pretty good distinction there between what is and is not going to be considered falling under the license wordpress mandates. This specific issue was stressed that anything connecting to or manipulating wordpress including the database must fall under the GPL.

        I was concerned about this myself as at the time I created a commercial product that did just that and did not want to have to make my scripts all under the GPL. But it was made clear you have to so I spunoff that bit of my code and put it into a seperate file and made that one file GPL.

        I didn't make it up, the guy that created wordpress verbally stated that if your script in anyway touches on wordpress which includes the database then it must fall under the GPL and be licensed under same.

        If you have a link to specific wording to the contrary within the wordpress licensing requirements please link to it, because I am getting my information directly from Matt Mullenwig himself.

        Thanks.

        - T
        {{ DiscussionBoard.errors[6549370].message }}
  • Profile picture of the author Terry Crim
    Steve, I reread your post and I see what you are saying but that is not what Matt thinks, legally you maybe right but I am not sure that it has been tested in court yet. I just follow the guidelines so to speak of the intention and actual commentary Matt stated on this.
    {{ DiscussionBoard.errors[6549383].message }}

Trending Topics