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

WordPress Trac noreply at wordpress.org
Wed Jul 29 06:28:43 UTC 2015


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

Comment (by pento):

 In [changeset:"33477"]:
 {{{
 #!CommitTicketReference repository="" revision="33477"
 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.1 branch.

 See #32165.
 }}}

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


More information about the wp-trac mailing list