Tag: wordpress data

In the first part of this series of WordPress data validation, we covered verifying intent and permissions. This article covers the other side of data validation: cleaning the data on the way in and escaping it on the way out. Fortunately WordPress comes with a variety of built in data validation functions. We have two […]

If you develop plugins or themes, chances are you’ve wanted to create some sort of options page. Or maybe even a custom meta box for posts that take additional information and uses it somewhere on the site. When you start letting a users input anything, you step into the danger zone. Why? Because you can’t […]