[wp-trac] [WordPress Trac] #43087: Unicode emoji in $wpdb->insert
WordPress Trac
noreply at wordpress.org
Sun Jan 14 14:48:39 UTC 2018
#43087: Unicode emoji in $wpdb->insert
--------------------------+-----------------------------
Reporter: loranrendel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When trying using `$wpdb->insert` with if containing unicode emoji 😉, the
method returns false and no inserts happens.
It happens inside following core code in `_insert_replace_helper`:
{{{
$data = $this->process_fields( $table, $data, $format );
if ( false === $data ) {
return false;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43087>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list