Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Constant FILTER_SANITIZE_STRING is deprecated - PHP 8.2 #19

Open
2 tasks
fredroo opened this issue Mar 10, 2024 · 2 comments
Open
2 tasks

Constant FILTER_SANITIZE_STRING is deprecated - PHP 8.2 #19

fredroo opened this issue Mar 10, 2024 · 2 comments

Comments

@fredroo
Copy link

fredroo commented Mar 10, 2024

Issue Overview

Constant FILTER_SANITIZE_STRING is deprecated

Steps to Reproduce (for bugs)

1.install wordpress
2.instal this plugin
3. enable define('WP_DEBUG', true); on wp-config.php in public_html or www
4. enable php 8.2
5. access website and show the error public_html/wp-content/plugins/wp-gdpr-cookie-notice/src/cookie-notice/class-cookie-notice-form.php on line 139

Cyber Panel
PHP 8.2
Google Chrome latest version
Cloudflare
Windows 10

Expected Behavior

Don't show errors and works fine

Current Behavior

Not stopped working

Possible Solution

Not use this Constant anymore

Screenshots / Video

Related Issues and/or PRs

Todos

  • Tests
  • Documentation
@fredroo
Copy link
Author

fredroo commented Mar 29, 2024

@felixarntz your plugin gonna receive some update or is abandoned?

@felixarntz
Copy link
Owner

@fredroo Unfortunately I no longer have capacity to maintain it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants