title: Sanitization in wordpress plugin
body: <p>I wrote a wordpress plugin but wordpress.org rejected it due to sanitization. According to wordpress:</p>
  
  <p>"## Please sanitize your POST calls</p>
  
  <p>You are not properly sanitizing your POST/GET/REQUEST calls.</p>
  
  <p>All instances where $_POST data is inserted into the database, or into a file, MUST be properly sanitized for security. This also holds true for $_REQUEST calls that are processed. In addition, by sanitizing your POST data, you will lessen the possibility of XSS vulnerabilities.</p>
  
  <p>Using stripslashes is not enough, you need to use the Input Validation methods, or things similar, to protect your plugin. The ultimate goal is that you should ensure that invalid data is NEVER processed."</p>
  
  <p>Can some help me here to add one filter code which can sanitize all my $_POST requests, or any other way?</p>
  
  <p>Thanks!</p>