SQL Injection

https://codex.wordpress.org/Class_Reference/wpdb
http://ottopress.com/2013/better-know-a-vulnerability-sql-injection/
Merge pull request #3 from jamierytlewski/sql-injection-fix

Sql injection fix