[wp-trac] [WordPress Trac] #32315: $wpdb->insert fails without error msg
WordPress Trac
noreply at wordpress.org
Mon Oct 31 23:09:06 UTC 2016
#32315: $wpdb->insert fails without error msg
------------------------------------------+------------------------------
Reporter: dlt101 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Comment (by datainterlock):
Php Mysqli truncates and inserts. That's how wp should work. Most plugin
devs will assume this and not even perform an error check. I did and I'm
betting a lot of current plugins still do. My advise, find another way to
fix the security hole instead of changing php conventional methods.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32315#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list