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

Replace FILTER_SANITIZE_STRING #583

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

n7studios
Copy link
Contributor

Summary

Replaces FILTER_SANITIZE_STRING (which is deprecated in PHP 8.1+) with sanitize_text_field, when checking if the request is from Gutenberg:
Screenshot 2023-11-10 at 16 26 44

Testing

Existing tests pass.

Checklist

@n7studios n7studios added the bug label Nov 10, 2023
@n7studios n7studios self-assigned this Nov 10, 2023
@n7studios n7studios requested review from a team, noelherrick and jenessawhite and removed request for a team November 13, 2023 15:41
@n7studios n7studios marked this pull request as ready for review November 13, 2023 15:41
@n7studios n7studios merged commit c350fe0 into main Nov 14, 2023
@n7studios n7studios deleted the replace-deprecated-filter-sanitize-string branch November 20, 2023 16:37
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 this pull request may close these issues.

3 participants