Need to fix deprecated constructor method
-
After installing this plugin when using PHP7 you get the following warning:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ftChangeTaxonomyCheckboxlistOrder has a deprecated constructor in /Users/joebloggs/Sites/www.my-site-here.com/server/public_html/wp-content/plugins/categories-in-hierarchical-order/settings.php on line 14
This can be resolved locally by changing line 14 from:
function ftChangeTaxonomyCheckboxlistOrder(){
…to…
function __construct(){
However, this change would obviously be lost upon the next update. Can you include this in the next update?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Need to fix deprecated constructor method’ is closed to new replies.