Could somebody help me to find how to solve Data Escaped problem? (WordPress)

wordpress

#1

Hello, I got an issue from the review and the issue is:

  • Validate, Sanitize and Escape all data

I checked these codes again and again but still don’t know where I should improve, any suggestions will be greatly appreciated.

p.s. The screenshot by reviewer attached below:


#2

Always use esc_url or esc_url_raw (database queries, redirects and HTTP requests) when sanitizing URLs:

https://codex.wordpress.org/Function_Reference/esc_url
https://codex.wordpress.org/Function_Reference/esc_url_raw


#3

Thank you very much, you save my life!!! :+1: