inpsyde / WP-Stash

Bridge between WordPress and StashPHP, providing a PSR6-compliant caching system for WordPress
https://inpsyde.com/en/wordpress-caching-system-wpstash/
GNU General Public License v2.0
51 stars 12 forks source link

fix: update deprecated filter constant #34

Closed o-samaras closed 3 months ago

o-samaras commented 3 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Compatibility fix

What is the current behavior? (You can also link to an open issue here) Usage of the FILTER_SANITIZE_STRING constant, which is deprecated as of PHP 8.1.0

What is the new behavior (if this is a feature change)? Switch from FILTER_SANITIZE_STRING to FILTER_SANITIZE_SPECIAL_CHARS

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No

Other information: