Closed RussellJapheth closed 3 years ago
Replaced get_resource_type() with get_class() for checking valid GD image instance. For PHP 8.0 and higher, passing a GD image argument to get_resource_type() will throw a Fatal Error.
Replaced get_resource_type() with get_class() for checking valid GD image instance. For PHP 8.0 and higher, passing a GD image argument to get_resource_type() will throw a Fatal Error.