• 2021-03-07 更新

    修复:“为WP_Widget调用的构造方法已自版本4.3.0起废弃!请改用 __construct()”

    $this->WP_Widget(false, '博客统计', $widget_ops);

    修改为

    parent::__construct(false, '博客统计', $widget_ops);

    修复:“Methods with the same name as their class will not be constructors in a future version of PHP”

    构造器名称修改为

    function __construct(){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment