Open LonsterMonster opened 1 year ago
FILTER_SANITIZE_STRING was deprecated as of PHP 8.1. The documentation recommends using htmlspecialchars() instead: https://www.php.net/manual/en/filter.filters.sanitize.php. See https://stackoverflow.com/a/69207369 for a discussion of other methods to achieve a similar outcome.
I enabled the log in the wp config as it helps me make sure everything is correct when installing stuff to my install of wp and installed the plugin to see how it was and got these deprecation errors