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

WordPress Trac noreply at wordpress.org
Fri Jul 17 06:33:38 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:                |     Focuses:
--------------------------+---------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33308"]:
 {{{
 #!CommitTicketReference repository="" revision="33308"
 WPDB: Remove some of the complexities in `::strip_invalid_text()`
 associated with switching character sets between queries. Instead of
 trying to dynamically change connection character sets, we now rely on the
 value of `::charset`. This also fixes the case where queries were being
 blocked when `DB_CHARSET` was `utf8`, but the column character set was
 non-`utf8`.

 Fixes #32165.
 }}}

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


More information about the wp-trac mailing list