Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.3.3 compatibility issue with filter constant #351

Closed
fjarrett opened this issue Mar 21, 2014 · 3 comments · Fixed by #375
Closed

PHP 5.3.3 compatibility issue with filter constant #351

fjarrett opened this issue Mar 21, 2014 · 3 comments · Fixed by #375
Labels

Comments

@fjarrett
Copy link
Contributor

A user reported in the support forum that they were receiving the following debug notice:

Notice: Use of undefined constant FILTER_SANITIZE_FULL_SPECIAL_CHARS - assumed 'FILTER_SANITIZE_FULL_SPECIAL_CHARS' in /var/www/vhosts/domain.com/httpdocs/main/wp-content/plugins/stream/includes/filters.php on line 61

This is because the FILTER_SANITIZE_FULL_SPECIAL_CHARS filter constant was added in PHP 5.3.3 and the user's environment was running PHP 5.3.2.

We need to remove the use of this constant and rework the code to sanitize this data another way.

Roughly 78% of PHP 5.3.x users are < 5.3.3 so this needs to be fixed ASAP.

@fjarrett
Copy link
Contributor Author

@powelski Can you work on a fix for this one?

@ammist
Copy link

ammist commented Apr 17, 2014

Thanks for fixing this!

@fjarrett
Copy link
Contributor Author

@ammist No problem! Thank you for using Stream! /five

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

Successfully merging a pull request may close this issue.

3 participants