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

Update sanitize field comment to clarify use of special characters. F… #4078

Closed
wants to merge 1 commit into from
Closed

Update sanitize field comment to clarify use of special characters. F… #4078

wants to merge 1 commit into from

Conversation

tanjimTC
Copy link

Hi there!

I've made some changes to the sanitize_user() function to clarify the use of special characters in the comment. Specifically, I updated the comment to reflect that the function removes HTML entities and percent-encoded characters, rather than "killing" them.

Please review my changes and let me know if there are any issues or further improvements that need to be made. Thanks for your help!

Fixes #57712.

Trac ticket: https://core.trac.wordpress.org/ticket/57712

@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r55346 as part of a few other similar edits.

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