fix: fatal error in WordPress 6.7+ caused by null value passed to sanitize_file_name()
WordPress 6.7 introduced strict typing in wp_is_valid_utf8(), which now throws a TypeError when sanitize_file_name() receives null.
Full Changelog: v1.4...v1.5
fix: fatal error in WordPress 6.7+ caused by null value passed to sanitize_file_name()
WordPress 6.7 introduced strict typing in wp_is_valid_utf8(), which now throws a TypeError when sanitize_file_name() receives null.
Full Changelog: v1.4...v1.5