• After updating our webspace to PHP 8.1 we get the following notice:

    Caught an error E_DEPRECATED in ****/wp-content/plugins/multisite-language-switcher/includes/MslsPlugin.php:77 Constant FILTER_SANITIZE_STRING is deprecated

    According to the documentation https://www.php.net/manual/en/filter.filters.sanitize.php it should be possible to replace it with htmlspecialchars(), do you think it’s safe to do so and something you can consider for the next update?

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Constant FILTER_SANITIZE_STRING is deprecated’ is closed to new replies.