WordPress 3.6: Fixing wpdb::escape Deprecation Errors
WordPress v3.6 was recently released, and as such, not all themes and plugins have been updated to support the new version. If you see an error regarding wpdb::escape, here’s the cause and fix for the issue.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed