Make WordPress Core


Ignore:
Timestamp:
05/06/2015 07:16:41 PM (10 years ago)
Author:
mdawaffe
Message:

WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion.

Merge of [32364] to the 3.7 branch.

Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.

See #32165.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/tests/phpunit/tests/db.php

    r32318 r32391  
    511511                'format' => '%s',
    512512                'charset' => $expected_charset,
    513                 'ascii' => false,
    514513                'length' => $wpdb->get_col_length( $wpdb->posts, 'post_content' ),
    515514            )
Note: See TracChangeset for help on using the changeset viewer.