Prevent XSS (Cross-Site Scripting) by escaping values in your WordPress templates

If you are developing a WordPress theme or plugin then it is important to make it as secure and robust as possible. One way to do this is to properly escape values that you use in your project so that XSS (Cross-Site-Scripting) is prevented. For instance, lets say that in your WordPress site you have created a …