Souhail Moussaoui
asked 9 years ago

Hi,

Since WordPress version 4.3, the constructor method {object}->{classname}() for WP_Widget is deprecated. We have to use __construct() instead.

Our team met the deprecated method in 4 files :

  1. dw-question-answer/inc/widgets/latest-question.php
  2. dw-question-answer/inc/widgets/list-closed-question.php
  3. dw-question-answer/inc/widgets/popular-question.php
  4. dw-question-answer/inc/widgets/related-question.php

Can you please update the DW Question & Answer Plugin to use the PHP 5 constructor. It takes few seconds to do : https://gist.github.com/chriscct7/d7d077afb01011b1839d

As WordPress says :

Friends don’t let friends use PHP 4 style constructors.

Thank you for your wonderful plugin, our customers and ourselves are very happy.

dominic Staff
replied 9 years ago

We have checked and update this issue here: https://github.com/designwall/dw-question-answer/commit/c2790ddad82cbe78bdd2a4b440763c4fb5525cec
We will update and release a official version as son as possible.
Regards,

1 Answers
DominicStaff
answered 9 years ago

Hi,
Thank you for interesting in our product. We appreciate it.
I sent and notified our technical team about this problem. We are checking and fixing it. We will released a update version for this plugin as soon as possible.
Regards,

Powered by DW Question & Answer Pro