[wp-trac] [WordPress Trac] #34482: wp-db.php incorrect usage of strip_invalid_text() in process_fields()
WordPress Trac
noreply at wordpress.org
Fri Jan 8 11:12:17 UTC 2016
#34482: wp-db.php incorrect usage of strip_invalid_text() in process_fields()
-------------------------------+----------------------
Reporter: fhwebcs | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version: 4.2
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses:
-------------------------------+----------------------
Comment (by dd32):
Hi @TiagoGouvea,
Can you just confirm whether you're passing `NULL` or `"NULL"` to the
function?
Given the data you've provided, it looks like you're passing it as a
string (which isn't supported, and MYSQL would attempt to set it to a
literal string "NULL").
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34482#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list