Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 32700

Timotheus44 on "[Plugin: Wordfence Security] Affiliate Royale login error with Wordfence"

$
0
0

For whatever reason, Wordfence decided not to fix their code to correct this error, so Affiliate Royale had to step up and fix it for them. It is a manual fix, so every time you update Wordfence you have to go in and correct the code again. Makes me strongly consider dropping Wordfence...

Here is the change in the code:
*** Modify wordfence/lib/wordfenceClass.php: comment out the logic to force it to use the old version of the hook:
if(false /*version_compare(PHP_VERSION, '5.4.0') >= 0*/){
add_action('wp_authenticate','wordfence::authActionNew', 1, 2);
} else {
add_action('wp_authenticate','wordfence::authActionOld', 1, 2);


Viewing all articles
Browse latest Browse all 32700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>