Closed swissspidy closed 2 months ago
IDK, don't have a strong opinion. We can keep doing it in the constructor, but throwing an exception seems overkill.
What if we provide polyfill function for wp_normalize_path()
so that it is always available.
I think a polyfill for an edge case that should never ever happen is overkill.
Here it‘s only not available because of the hacky object-cache.php drop-in
Introduced in #449
Reported in https://github.com/swissspidy/wp-plugin-check-action/issues/68
To reproduce:
cc @ernilambar