Title: FILTER_SANITIZE_STRING is deprecated
Last modified: August 20, 2025

---

# FILTER_SANITIZE_STRING is deprecated

 *  [annaam](https://wordpress.org/support/users/annaam/)
 * (@annaam)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/filter_sanitize_string-is-deprecated-4/)
 * Hi,
 * **FILTER_SANITIZE_STRING** has been deprecated since PHP 8.1.
 * Location: ./events-manager/classes/em-mailer.php:155: $name = !empty($args[‘reply-
   to-name’]) ? filter_var($args[‘reply-to-name’], **FILTER_SANITIZE_STRING**) :
   false;
 * If this could please be patched with the next update, that would be great.
 * Thank you,

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

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [annaam](https://wordpress.org/support/users/annaam/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/filter_sanitize_string-is-deprecated-4/)
 * Status: not resolved