WordPress data validation

Data Validation, Sanitization and Escaping

Don’t ever trust your users. Always validate, sanitize and escape every piece of information that saves into and read out of your database. So, what exactly validation, sanitization and escaping? Do we really need them? Validation is the ruleset to make sure data received from end user is in correct format that you expect it…

Continue Reading →