Adds in method for escaping the % character for use in log messages. There are other ways to do this which involve fixing the problem in the log() method but for back compat and in case anyone has extended this, I think we should stick with this way.
I've also enabled the debug.log in the local environment.
Checklist
[ ] Project documentation has been updated to reflect the changes in this pull request, if applicable.
[x] I have tested the changes in the local development environment (see contributing.md).
[x] I have added phpunit tests. (Not for Gravity Forms which is a premium plugin so we can't include)
Release Changelog
Fix Uncaught ValueErrors in PHP 8 for the WordPress SEO and Gravity Forms connectors.
Add a method to the abstract Connector class to easily avoid those errors in the future
Fixes https://github.com/xwp/stream/issues/1489, https://github.com/xwp/stream/issues/1443, https://github.com/xwp/stream/issues/1445
Adds in method for escaping the % character for use in log messages. There are other ways to do this which involve fixing the problem in the
log()
method but for back compat and in case anyone has extended this, I think we should stick with this way.I've also enabled the debug.log in the local environment.
Checklist
contributing.md
).Release Changelog