Support » Plugin: Categories in Hierarchical Order » Need to fix deprecated constructor method

  • onebc

    (@onebc)


    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?

    • This topic was modified 6 months ago by  .
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.