Fix for PHP 7 deprecation of constructor
-
The released plugin v3.2.0.2 is giving a warning under PHP 7 about a deprecated constructor and this will likely fail in a future version of PHP. Here is the fix:
In the file media_tags.php, line 30 reads
function MediaTags()
replace with// function MediaTags() this line replaced by following one by Tony function __construct()
I also added a comment to the description on line 5 so I can see I am activating the updated version.
- The topic ‘Fix for PHP 7 deprecation of constructor’ is closed to new replies.