Older PHP problems
-
I’ve had problems getting the plugin to work on an older version of PHP so I made a few changes in the code.
I’m guessing this is not of worth to the author really, but might be of some use to someone who, like me, for some reason is stuck with PHP < 5.3.0 which lacks support for anonymous functions and namespaces, which were the problem in this case.
Tested with:
Wordpress: 3.6
PHP: 5.2.6Anyways, the code that replaces wp-fail2ban.php can be found at:
https://pastebin.com/qLCtmMwzThanks for a great plugin btw!
- The topic ‘Older PHP problems’ is closed to new replies.