PHP7 compatibility
-
I was running PHP7 compatibility checks on my WordPress projects and there was one issue with your plugin:
File: wp-content/plugins/exploit-scanner/exploit-scanner.php > Line 960: PHP 4 constructors are now deprecated function ES_Text_Diff_Renderer() { }
I think you should just add a PHP5-style constructor to the
ES_Text_Diff_Renderer
class:class ES_Text_Diff_Renderer extends Text_Diff_Renderer { function __construct() { parent::__construct(); } /** * PHP4 constructor. */ function ES_Text_Diff_Renderer() { self::__construct(); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘PHP7 compatibility’ is closed to new replies.