2155
2155
$iqueries = apply_filters( 'dbdelta_insert_queries', $iqueries );
2157
$text_fields = array( 'tinytext', 'text', 'mediumtext', 'longtext' );
2158
$blob_fields = array( 'tinyblob', 'blob', 'mediumblob', 'longblob' );
2157
2160
$global_tables = $wpdb->tables( 'global' );
2158
2161
foreach ( $cqueries as $table => $qry ) {
2159
2162
// Upgrade global tables only for the main site. Don't upgrade at all if conditions are not optimal.