Deprecation notice when using PHP 8.1 #4728
Labels
effort: [XS]
< 1 day of estimated development time
priority: medium
Issues which are important, but no one will go out of business.
type: enhancement
Improvements that slightly enhance existing functionality and are fast to implement
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
A customer informed this deprecation notice is displayed when running PHP 8.1:
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/f****g.com/httpdocs/wp-content/plugins/wp-rocket/inc/admin/upgrader.php on line 41
To Reproduce
Steps to reproduce the behavior:
N/A
Expected behavior
There should be no deprecation notice displayed when running PHP 8.1
Screenshots
N/A
Additional context
The customer took this from the debug file from wp-content.
Related ticket: https://secure.helpscout.net/conversation/1783564514/325265
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: