Welcome to GPLDL - we are still beta - please report any bugs via the contact form.

GPLDLGPLDL
GPLDL
Download the most popular GPL licensed Premium WordPress Themes & Plugins and WooCommerce Extensions for FREE!
  • Blog
    • Blog Articles
    • Latest Updates & Additions
  • Repository
    • Full Repository
    • Premium WordPress Themes
    • Premium WordPress Plugins
    • Premium WooCommerce Extensions
    • Special Gifts for Premium Members
    • Tutorials
  • Forum
  • Free Membership
  • Donations
  • My GPLDL Account
  • Sign In
Menu back  

How to remove the license code check from the WP-Rocket WordPress Plugin

January 2, 2017

A lot of users have recently asked in the GPLDL Forum to add the highly popular caching Plugin WP-Rocket to the GPLDL Premium WordPress Repository.

Since the WP-Rocket Plugin requires an active subscription from its developer WP-Media that will provide you with a license code you will not only need to download the WP-Rocket Plugin from GPLDL but you will also have to follow these instructions to make WP-Rocket work for you.

How does the WP-Rocket Plugin check the license information?

We had a look at the PHP-code of the WP-Rocket WordPress Plugin and found the routine for checking the serial number is hidden in the /wp-rocket/inc/functions/options.php file from code line 488 on.

The routine checks if there is a valid combination of a WP_ROCKET_KEY in line 10, a valid email that was used for the license purchase in WP_ROCKET_EMAIL in line 15 of the /wp-rocket/license-data.php file and a proper WP_ROCKET_PRIVATE_KEY in line 23 in /wp-rocket/wp-rocket.php.

WP-Rocket only displays the full range of settings if all three filled properly.

We checked a little further and realized that it is quite easy to "fork" WP-Rocket with just a simple adjustment of the code in the /wp-rocket/inc/functions/options.php file and thus create a 100% clean, legit and fully functional "nulled WP-Rocket Plugin" yourself.

How can you create a "nulled version" WP-Rocket Plugin yourself?

You simply need to replace the routine checking for a valid WP-Rocket license key with a simple code snippet that always makes the WP-Rocket Plugin believe that whatever information has been entered above is valid.

wp_rocket_options_php_nulled

Therefore open the file /wp-rocket/inc/functions/options.php in any text editor or your favorite code editor and go to line 488.

Replace the block starting with "function rocket_valid_key()" with "return true" exactly in the same way as you can see it in the screenshot above.

Please double check that you remove the code see on the left hand side and enter exactly the same code as seen in the window on the right hand.

Any typos will most likely break the plugin and may make your site unaccessable - so take your time and act at your own risk!

Upload the modified WP-Rocket Plugin to your website

wp_rocket_settings_nulled

Once the options.php file has been changed and the plugin has been uploaded to your server (via FTP), you will find the entry for WP-Rocket under Settings in the WordPress Admin Panel.

If everything went fine, you will see all option tabs show in the screenshot and you can do the settings for your website.

Final Words

Please also note that you have to make these adjustments in /wp-rocket/inc/functions/options.php with every new version of WP-Rocket.

With this hack you cannot make use of the auto-update within the WP-Rocket plugin (you should definitely get a paid license from WP-Media if you need this feature) and get the update from WP-Media but need to download new versions from GPLDL, make the code adjustments and upload to your website again.

This Guide on how to create your own nulled WP-Rocket Plugin fork which does not require valid license credentials has been thoroughly tested and works well with WP-Rocket 2.91 - the code in future versions may require different adjustments. Use this at your own risk and get a paid license from WP-Media to support their work and obtain support!

adjustmentscheckcheckscodecrackedDIYforkGuideHowToInstructionskeylicenselicense-data.phpnullnulledoptions.phpPHPPluginPremiumremovesectionserialsnippedtruetutorialvalid keywordpressWP_ROCKET_EMAILWP_ROCKET_KEYWP_ROCKET_PRIVATE_KEYWP-MediaWP-Rocketwp-rocket.phpyourself
Related posts
How to get the MailPoet Premium Newsletter WordPress Plugin for free forever?
January 22, 2017
How to remove the WooThemes Updater Plugin notification from your WordPress Admin Dashboard
May 28, 2016
Mark Jaquith: Why WordPress Themes are derivates of WordPress
August 15, 2015
Facts & Figures: 23 Percent of all Websites worldwide use WordPress
March 12, 2015
Beginner’s Tutorial: How to Manually Install WordPress with FTP
October 30, 2014
WooCommerce – the dominating eCommerce Plugin for WordPress
September 7, 2014
Search the Repository
We reward your Donations!
We need your Donation to maintain and grow the GPLDL WordPress Repository - and we reward your generosity with Premium Memberships allowing you to download even more files.

Learn more about donations & rewards...
News from our blog
  • How to get the MailPoet Premium Newsletter WordPress Plugin for free forever?
    January 22, 2017
  • How to remove the license code check from the WP-Rocket WordPress Plugin
    January 2, 2017
  • How to remove the WooThemes Updater Plugin notification from your WordPress Admin Dashboard
    May 28, 2016
Latest Updates & Additions
  • GPLDL News: 102 Updates & Additions today – Download 2249 Premium WordPress items!
    January 24, 2021
  • GPLDL News: 93 Updates & Additions today – Download 2249 Premium WordPress items!
    January 17, 2021
  • GPLDL News: 97 Updates & Additions today – Download 2248 Premium WordPress items!
    January 10, 2021
Tags
Admin Area automatic Backend code command display Download Drupal edit Extension fork forked functions.php get rid of GPL Guide hide hoot HowTo Instructions license Magento nag-screen nagscreen notification null nulled off Plugin Premium remove serial switch theme true tutorial Update Updater usage WooCommerce WooThemes wordpress WP-Media WP-Rocket
Welcome to GPLDL!
scr02We love innovation and we believe in free software!

That's why we strive to make the world's best Premium WordPress Themes & Plugins and WooCommerce Extensions & Themes available for everyone!

Find us on:

FacebookTwitterGoogle+RssPinterest
Latest Blog Posts
  • How to get the MailPoet Premium Newsletter WordPress Plugin for free forever?
    January 22, 2017
  • How to remove the license code check from the WP-Rocket WordPress Plugin
    January 2, 2017
  • How to remove the WooThemes Updater Plugin notification from your WordPress Admin Dashboard
    May 28, 2016
Latest Updates & Additions
  • GPLDL News: 102 Updates & Additions today – Download 2249 Premium WordPress items!
    January 24, 2021
  • GPLDL News: 93 Updates & Additions today – Download 2249 Premium WordPress items!
    January 17, 2021
  • GPLDL News: 97 Updates & Additions today – Download 2248 Premium WordPress items!
    January 10, 2021
About GPLDL
  • About GPLDL
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
GPLDL - all Rights reserved.
  • About GPLDL
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
  • Sign In
GPLDL Widget Menu
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy policy