- Jun 9, 2019
- 182
- 68
- 28
After a few days, its still says renews in 364 days. That number doesn't go down.Mine, it says "renew in 364 days". Let's see if the number goes down or not.
Can I enable auto update? Any effect?if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
- Download the official Wordfence security plugin from: https://en-ca.wordpress.org/plugins/wordfence/
- Upload the plugin to your wordpress but don't activate it
- Next, in your wordpress main dashboard head to Plugins -> Plugin Editor
- In the "Select plugin to edit" bar choose Wordfence Security and press Select
- Under the "lib file section" select the wordfenceClass.php file
- Press ctrl+f and paste this:
You should see:
$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();
Now right under it paste this in:
wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);
So the code should look like this:
$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();
wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);
7. Save the file, then activate WordFence plugin, you should have unlimited premium license! It says "renew in 365 days" but you will notice that this number doesn't go down
Like for more "exploits" like this!
Can I enable auto update? Any effect?
Worked like Charm and i just Blocked the whole of Russia!
Thanks Buddy!
Site went down after activating the plugin (The site is experiencing technical difficulties. )
I guess it's not working in the latest version? @eliteshades
Always and all time and every version is workingSite went down after activating the plugin (The site is experiencing technical difficulties. )
I guess it's not working in the latest version? @eliteshades
Working fine tested... I use this for professional purpose..Site went down after activating the plugin (The site is experiencing technical difficulties. )
I guess it's not working in the latest version? @eliteshades
PM me your Login detail I will fix it. WP login also Cpanel login... make administrative temporary login of wp and share with me. and also temporary access for cPanel..
Now tested why this error comes? plugines issue.. deactivate all plugin then use code working fine.
Now tested why this error comes? plugines issue.. deactivate all plugin then use code working fine.
or remove all plugin then use code.
and theme don't activate before doing this process thanks.