[wp-trac] [WordPress Trac] #32165: wp-db.php destructs all the multibyte characters

WordPress Trac noreply at wordpress.org
Wed Jul 15 04:32:58 UTC 2015


#32165: wp-db.php destructs all the multibyte characters
--------------------------+-----------------------
 Reporter:  kjmtsh        |       Owner:  pento
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  4.2.3
Component:  Database      |     Version:  4.1.2
 Severity:  blocker       |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 In [changeset:"33276"]:
 {{{
 #!CommitTicketReference repository="" revision="33276"
 WPDB: When checking that text isn't too long to insert into a column,
 `LONGTEXT` columns could fail, as their length is longer than
 `PHP_INT_MAX`. Treating their length as a `float` instead of an `int`
 fixes this.

 See #32165.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32165#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list