Wordpress: wpdb->insert VERSUS wpdb->prepare(wpdb->query("INSERT...
- by Parris
Hello,
I am wondering if wordpress' insert function also adds slashes to data. If it doesn't it would seem that the prepare query method would be better to prevent against SQL injection. I tried looking the issue up in there codex/api; however, it seems undocumented.
Thanks!