PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Dev License Key for Multi-Site

  1. Anonymous
    Unregistered

    I did a search, and didn't see any threads on this, but was wondering if there's a way to set the license key once for all sites in a WPMU/multi-site environment, ala akismet?

    Posted 9 years ago on Thursday July 8, 2010 | Permalink
  2. Currently there is not support for automating multi-site license key input.

    BUT we will go ahead and add it to the to do list for v1.3.13 which is currently in Beta. We will include it in either Beta 2 or Beta 3 depending on time. If I remember correctly you have to edit the Akismet plugin file and hardcode the license key for it to then automatically use that value. This will work the same way.

    A couple caveats:

    - It will only populate when initially activated on a site that didn't have Gravity Forms installed before as it will run as part of the install routine that creates setup data.

    - It will mean when you upgrade to a new version of Gravity Forms you will have to do this again as the hardcoded value would be overridden by the upgrade.

    Posted 9 years ago on Friday July 9, 2010 | Permalink
  3. I've been looking at this for an upcoming project too, so glad to know it's in the works.

    Wouldn't it make more sense to put a constant in wp-config.php ? It'd survive updates that way.

    Posted 9 years ago on Friday July 9, 2010 | Permalink
  4. Good idea Matt, we completely didn't think to see about leveraging wp-config.php to store the key. We will work this into 1.3.13 Beta 2 and then the license key will survive updates and it will be more seamless. Thanks for the suggestion!

    Posted 9 years ago on Friday July 9, 2010 | Permalink