Title: PHP 8.2 deprecated FILTER_SANITIZE_STRING warning
Last modified: March 31, 2023

---

# PHP 8.2 deprecated FILTER_SANITIZE_STRING warning

 *  Resolved [Jarko Piironen](https://wordpress.org/support/users/ipajen/)
 * (@ipajen)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-2-deprecated-filter_sanitize_string-warning/)
 * WordPress: 6.2.1-alpha-55611, PHP: 8.2.0, Advanced Database Cleaner 3.1.2
 * `Constant FILTER_SANITIZE_STRING is deprecated`
 * `wp-content/plugins/advanced-database-cleaner/includes/class_general_cleanup.
   php:264`
 * Would be great if you could fix the warning.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Younes JFR.](https://wordpress.org/support/users/symptote/)
 * (@symptote)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-2-deprecated-filter_sanitize_string-warning/#post-16631103)
 * Thank you for reporting this. A fix will be available soon.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8.2 deprecated FILTER_SANITIZE_STRING warning’ is closed to new replies.

 * ![](https://ps.w.org/advanced-database-cleaner/assets/icon-256x256.png?rev=3405580)
 * [Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance](https://wordpress.org/plugins/advanced-database-cleaner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-database-cleaner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-database-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-database-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-database-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-database-cleaner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Younes JFR.](https://wordpress.org/support/users/symptote/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-2-deprecated-filter_sanitize_string-warning/#post-16631103)
 * Status: resolved