WordPress杀毒插件Wordfense开心版

只要在这个文件(wp-content/plugins/wordfence/lib/wordfenceClass.php) 找到这一行(if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {) 紧挨着的下面加这几行代码就行

wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
!!wfConfig::set('isPaid', 1);
!!wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);

Leave a Reply