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

WordPress Trac noreply at wordpress.org
Wed Jul 15 04:39:21 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:"33277"]:
 {{{
 #!CommitTicketReference repository="" revision="33277"
 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.

 Merge of [33276] to the 4.2 branch.

 See #32165.
 }}}

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


More information about the wp-trac mailing list