The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
FILTER_SANITIZE_STR...
 
Share:
Notifications
Clear all

[Solved] FILTER_SANITIZE_STRING is deprecated

2 Posts
2 Users
0 Reactions
1,056 Views
Posts: 2
Topic starter
(@omriamos)
Active Member
Joined: 4 years ago

Hi,

Getting these warnings on my server log:

PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /path/to/home/wp-content/plugins/wpdiscuz/utils/ajax/wpdiscuz-ajax.php on line 5

FILTER_SANITIZE_STRING is deprecated as of PHP 8.1.0, you should use htmlspecialchars() instead.

 

1 Reply
Asti
Posts: 7664
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi Omri Amos,

This issue will be fixed in the next version of the wpDiscuz plugin. 

Share: