[wp-trac] [WordPress Trac] #32051: Creating new posts/terms with non-English characters is broken for tables with cp1251 collation in 4.1.2

WordPress Trac noreply at wordpress.org
Wed Apr 22 15:01:27 UTC 2015


#32051: Creating new posts/terms with non-English characters is broken for tables
with cp1251 collation in 4.1.2
--------------------------+-----------------------
 Reporter:  vloo          |       Owner:  pento
     Type:  defect (bug)  |      Status:  accepted
 Priority:  high          |   Milestone:  4.2
Component:  Database      |     Version:  4.1.2
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 In [changeset:"32261"]:
 {{{
 #!CommitTicketReference repository="" revision="32261"
 WPDB: When sanity checking a string by sending it to MySQL for conversion
 checks, the incorrect data structure was being returned from
 `wpdb::strip_invalid_text()`, causing all write queries to fail for some
 character sets when the query contained non-ASCII characters.

 See #32051.
 }}}

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


More information about the wp-trac mailing list