
【debug】wordpress使用__construct()统一构造方法解决同类名错误
今天逍遥乐以身犯险,将博客wordpress说在的环境升级到php7以后侧边栏出现了错误,打开wordpress调试模式及php错误提示以后后,发现给出了如下提示: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in XXX.php on line 73 这个...