Code not compatible with PHP 7.4
knit-pay opened this issue · 1 comments
knit-pay commented
Hello Team
The below code is not compatible with PHP version 7.4. May I raise a pull request to fix it?
rvdsteege commented
Polyfills for str_starts_with()
and str_ends_with()
have been included in WordPress since WordPress version 5.9. Therefore, we also mention in our plugin file that WordPress 5.9+ is required:
I don't think there's any need to otherwise update the code.