WP_Widget_PostViews has a deprecated constructor 报错解决

WP_Widget_PostViews has a deprecated constructor 报错解决

💡 原文中文,约1100字,阅读约需3分钟。
📝

内容提要

今天在调试WordPress的时候,打开了DEBUG信息,结果额外出现了如下报错信息: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_PostViews has a deprecated...

➡️

继续阅读