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

WordPress Trac noreply at wordpress.org
Fri Jul 17 07:06:35 UTC 2015


#32279: Creating new posts/terms with non-latin characters is broken for tables
with cp1251 collation in 4.1.5
--------------------------+---------------------
 Reporter:  vloo          |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.2.3
Component:  Database      |     Version:  4.1.5
 Severity:  critical      |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"33310"]:
 {{{
 #!CommitTicketReference repository="" revision="33310"
 WPDB: `::strip_text_from_query()` doesn't pass a length to
 `::strip_invalid_text()`, which was causing queries to fail when they
 contained characters that needed to be sanity checked by MySQL.

 Props dd32, mdawaffe, pento.

 Fixes #32279.
 }}}

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


More information about the wp-trac mailing list