• Resolved bignevola

    (@bignevola)


    I am getting the same warning at my WP. 6.0.3 under PHP v.8.1:
    PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated

    FILTER_SANITIZE_STRING
    See: https://www.php.net/manual/en/filter.filters.sanitize.php
    Strip tags and HTML-encode double and single quotes, optionally strip or encode special characters. Encoding quotes can be disabled by setting FILTER_FLAG_NO_ENCODE_QUOTES. Deprecated as of PHP 8.1.0

    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in …/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22

Viewing 2 replies - 1 through 2 (of 2 total)
  • same here, I have to stick to PHP 8.0 for now until the plugin is updated for PHP 8.1

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @lwangaman & @bignevola

    Thanks for reaching out regarding the PHP 8.1 deprecations. An upcoming release will include a fix for the issue you experienced. We typically release plugin updates every two weeks, so it shouldn’t be too long.

    This thread was marked resolved, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FILTER_SANITIZE_STRING is deprecated – PHP v.8.1’ is closed to new replies.