mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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.
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt. See #32165. git-svn-id: https://develop.svn.wordpress.org/trunk@32364 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -746,7 +746,6 @@ class Tests_DB extends WP_UnitTestCase {
|
||||
'value' => '¡foo foo foo!',
|
||||
'format' => '%s',
|
||||
'charset' => $expected_charset,
|
||||
'ascii' => false,
|
||||
'length' => $wpdb->get_col_length( $wpdb->posts, 'post_content' ),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user