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

[_]wp_specialchars() is deprecated/private and should be replaced #280

toolstack opened this issue Feb 17, 2016 · 0 comments


None yet
1 participant
Copy link

commented Feb 17, 2016

wp_speicalchars() is deprecated and _wp_specialchars() is a private function that should not be used.

Since we only support PHP 5.3 and above, we can use PHP's htmlspecialchars() instead which is a drop in replacement as of PHP 5.2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.