做下备忘,在下列文件中:

\wp-includes\comment.php
\wp-content\plugins\akismet\akismet.php
\mint\config\auto.php
\mint\pepper\shauninman\default\class.php

搜索:
_SERVER['REMOTE_ADDR']

替换为:
_SERVER['HTTP_X_FORWARDED_FOR']

此法可以解决部分服务器无法正确读取访者 IP 的问题

«

»