mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
WPDB: Sanity check that any strings being stored in the DB are not too long to store correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@32299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -747,6 +747,7 @@ class Tests_DB extends WP_UnitTestCase {
|
||||
'format' => '%s',
|
||||
'charset' => $expected_charset,
|
||||
'ascii' => false,
|
||||
'length' => $wpdb->get_col_length( $wpdb->posts, 'post_content' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user